Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85516 张湘哲 09判断ASCLL码 C++ Accepted 1 MS 276 KB 284 2024-07-17 19:47:08

Tests(5/5):


Code:

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