Run ID:81307
提交时间:2024-07-12 11:32:26
#include <bits/stdc++.h> using namespace std; int main() { char app; cin >> app; if (app == 'a' || 'e' || 'i' || 'o' || 'u') { cout << "Lower Vowel"; }else{ cout<<"Lower Letter"; } if(app=='A'||'E'||'I'||'O'||'U'){ cout<<"Upper Letter" }else{ cout<<"Upper Letter"; } if(app=='1'||'2'||'3'||'4'||'5'||'6'||'7'||'8'||'9'){ cout<<"Digit"; } if(app != 'a' || 'e' || 'i' || 'o' || 'u'&&app!='1'||'2'||'3'||'4'||'5'||'6'||'7'||'8'||'9'&&app!='1'||'2'||'3'||'4'||'5'||'6'||'7'||'8'||'9'){ cout<<"Other"; } }