Run ID:67705

提交时间:2024-03-17 14:00:32

#include<bits/stdc++.h> using namespace std; int main(){ char a; cin>>a; if(a>='A'&&a<='Z'){ cout<<"Upper Letter"; }else if(a>='a'&&'z'>=a){ cout<<"Lower Letter"; }else if('0'<=a&&a<='9'){ cout<<"Digital"; }else{ cout<<"other"; } return 0; }