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