Run ID:62163
提交时间:2023-12-17 16:49:41
#include<iostream> using namespace std; int main() { char n; cin>>n; if(c>='A'&&c<='Z'){ if(c=='A'||c=='E'||c=='I'||c=='O'||c=='U'){ cout<<"Upper Vowel"; return 0; }else{ cout<<"Upper Letter"; return 0; } } if(c>='a'&&c<='z'){ if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u'){ cout<<"Lower Vowel"; return 0; }else{ cout<<"Lower Letter"; return 0; } } if(c>='0'&&a<='9'){ cout<<"Digit"; return 0; }else{ cout<<"Other"; } return 0; }