Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
5790 | 邱一涵 | 09判断ASCLL码 | C++ | Wrong Answer | 0 MS | 260 KB | 459 | 2024-12-14 20:34:09 |
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int main(){ int a; char b; cin>>b; a=b; if(a>=65&&a<=90){ cout<<"Upper Letter"<<endl; }else if(a<=98&&a<=122){ cout<<"Lower Letter"<<endl; }else if(a>=48&&a<=57){ cout<<"number"<<endl; } else { cout<<"other"<<endl; } cout<<a<<endl; return 0; }
------Input------
A
------Answer-----
Upper Letter
------Your output-----
Upper Letter 65