Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
3760 杨洋杰 09判断ASCLL码 C++ Accepted 0 MS 260 KB 279 2024-06-30 16:59:25

Tests(5/5):


Code:

#include<iostream> using namespace std; int main(){ char a; cin>>a; int b=(int)a; if(b>=48&&b<=57) cout<<"Digital"; else if(b>=65&&b<=90) cout<<"Upper Letter"; else if(b>=97&&b<=122) cout<<"Lower Letter"; else cout<<"other"; return 0; }