Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
83838 小徐老师 09判断ASCLL码 C++ Accepted 0 MS 276 KB 381 2024-07-15 09:32:58

Tests(5/5):


Code:

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