Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67727 陈俊洁 09判断ASCLL码 C++ Accepted 1 MS 280 KB 272 2024-03-17 14:07:22

Tests(5/5):


Code:

#include <bits/stdc++.h> using namespace std; int main () { char a; cin>>a; if('A'<=a&&a<='Z') { cout<<"Upper Letter"; } else if('a'<=a&&'z'>=a) { cout<<"Lower Letter"; } else if('0'<=a&&a<='9') { cout<<"Digital"; } else { cout<<"other"; } }