Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
4155 | 黄宜洋 | 09判断ASCLL码 | C++ | Wrong Answer | 0 MS | 260 KB | 371 | 2024-08-12 15:33:02 |
# include<iostream> using namespace std; int main(){ char ch; cin>>ch; if(ch >= 65 && ch <= 90){ printf("Upper letter"); } else if(ch >= 97 && ch <= 122){ printf("Lower letter"); } else if(ch >= 48 && ch <= 57){ printf("Digital"); } else{ printf("other"); } return 0; }
------Input------
A
------Answer-----
Upper Letter
------Your output-----
Upper letter