Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85197 罗迎甲 09判断ASCLL码 C++ Accepted 1 MS 272 KB 271 2024-07-16 17:02:25

Tests(5/5):


Code:

# include<iostream> using namespace std; int main(){ char c; cin>>c; if(('a'<=c)&&('z'>=c)) cout<< "Lower Letter"; else if(('A'<=c)&&('Z'>=c)) cout<< "Upper Letter"; else if(('0'<=c)&&('9'>=c)) cout<< "Digital"; else cout<<"other"; return 0; }