Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
91885 黄枳润 09输出成绩等级 C++ Compile Error 0 MS 0 KB 599 2024-09-23 20:16:36

Tests(0/0):


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; } */ int a; cin>>a; if(a>=90){ cout<<'A'; }else if(a>=80){ cout<<'B'; }else if(a>=70){ cout<<'C'; }else if(a>=60){ cout<<'D'; }else{ cout<<'E' } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:32:5: error: expected ';' before '}' token
     }
     ^