Run ID:65819
提交时间:2024-02-20 14:52:19
#include<iostream> using namespace std; int main(){ char a; cin>>a; if(a>='A' && a<='Z') { cout<<"upper"; } if(a>='a' && a<='z'){ cout<<"lower"; } if(a>='0' && a<='9') { cout<<"digital"; } else{ cout<<"other"; } }