Run ID:3760
提交时间:2024-06-30 16:59:25
#include<iostream> using namespace std; int main(){ char a; cin>>a; int b=(int)a; if(b>=48&&b<=57) cout<<"Digital"; else if(b>=65&&b<=90) cout<<"Upper Letter"; else if(b>=97&&b<=122) cout<<"Lower Letter"; else cout<<"other"; return 0; }