Files
python/TangDou/XiTi/1027.cpp

14 lines
349 B
C++
Raw Normal View History

2025-08-30 18:35:01 +08:00
#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;
}