Run ID:124681
提交时间:2025-07-12 11:15:14
#include<iostream> using namespace std; int main(){ char a; cin>>a; if(a=='A' or a=='E' or a=='I' or a=='O' or a=='U'){ cout<<"Upper Vowel"; }else{ if(a>='B' and a<='Z'){ cout<<"Upper Letter"; }else{ if(a=='a' or a=='e' or a=='i' or a=='o' or a=='u'){ cout<<"Lower Letter"; }else{ if(a>=9 or a<=0){ cout<<"Digit"; }else{ cout<<"Other"; } } } } }