Run ID:61163

提交时间:2023-12-02 16:55:51

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