Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
91034 徐文杰 09判断ASCLL码 C++ Accepted 1 MS 268 KB 359 2024-09-21 11:07:16

Tests(5/5):


Code:

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