Run ID:85516

提交时间:2024-07-17 19:47:08

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