Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
28535 于荣涵 C语言5.10 C++ Accepted 2 MS 720 KB 403 2022-06-19 20:40:21

Tests(1/1):


Code:

# include<iostream> using namespace std; int main(){ int score; cin>>score; if (score>=90){ cout<<"A"<<endl; } if (80<=score&&score<=89){ cout<<"B"<<endl; } if (70<=score&&score<=79){ cout<<"C"<<endl; } if (60<=score&&score<=69){ cout<<"D"<<endl; } if (score<60){ cout<<"E"<<endl; } return 0; }