Run ID:110495

提交时间:2025-02-22 10:59:05

#include<iostream> using namespace std; int main(){ char c; cin>>c; if(c>='A' && c<='Z'){ if(c=='A'||c=='E'||c=='I'||c=='O'||c=='U'){ cout<<"Upper Vowel"<<endl; }else{ cout<<"Upper Letter"<<endl; } }else if(c>='a'&&c<='z'){ if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u'){ cout<<"Lower Vowel"<<endl; }else{ cout<<"Lower Letter"<<endl; } }else if(c>='1'&&c<='9'){ cout<<"Digit"<<endl; }else{ cout<<"Other"<<endl; } return 0; }