提交时间:2025-02-06 10:27:07
运行 ID: 5336
#include<bits/stdc++.h> using namespace std; int main(){ int a; char b; cin>>b; a=b; if(a>=65&&a<=91){ cout<<"A"; }else if(a>=97&&a<=123){ cout<<'a'; }else if(b=='0'||b=='1'||b=='2'||b=='3'||b=='4'||b=='5'||b=='6'||b=='7'||b=='8'||b=='9'){ cout<<'0'; }else{ cout<<"other"; } }