Files
python/TangDou/XiTi/1027.cpp
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

14 lines
349 B
C++

#include <bits/stdc++.h>
using namespace std;
int main() {
char chr;
cin >> chr;
if (chr >= 'A' && chr <= 'Z') cout << "capital" << endl;
else if (chr >= 'a' && chr <= 'z') cout << "lowercase" << endl;
else if (chr >= '0' && chr <= '9') cout << "number" << endl;
else cout << "others" << endl;
return 0;
}