Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
91882 黄枳润 09判断ASCLL码 C++ Accepted 1 MS 272 KB 358 2024-09-23 20:07:09

Tests(5/5):


Code:

#include<iostream> using namespace std; int main() { char i; int j; cin>>i; j=i; if(j>=65&&j<=90){ cout<<"Upper Letter"<<endl; }else if(j>=97&&j<=122){ cout<<"Lower Letter"<<endl; }else if(j>=48&&j<=57){ cout<<"Digital"<<endl; }else{ cout<<"other"<<endl; } return 0; }