Run ID:124703
提交时间:2025-07-12 11:28:32
#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"; }else{ cout<<"Upper Letter"; } } else if(c>='a'&&c<='z'){ if(c=='a'||c=='o'||c=='e'||c=='i'||c=='u'){ cout<<" Lower Vowel"; }else{ cout<<"Lower Letter"; } }else if(c>='0'&&c<='9'){ cout<<"Digit"; }else{ cout<<"Other"; } return 0; }