Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
91758 | 石水生 | 09判断ASCLL码 | C++ | Compile Error | 0 MS | 0 KB | 232 | 2024-09-22 14:35:20 |
#include <bits/stdc++.h> using namespace std; int main(){ char a; cin>>a; if(a>=65&&<=90) cout<<"Upper Letter"; else if(a>=97&&a<=122) cout<<"Lower Letter"; else if(a>=48&&a<=57) cout<<"Digital"; else cout<<"other"; }
Main.cc: In function 'int main()': Main.cc:6:12: error: expected primary-expression before '<=' token if(a>=65&&<=90) cout<<"Upper Letter"; ^