竞赛
考级
法兰西玫瑰
#include <iostream> using namespace std; int main(){ int a; cin>>a; if(a>=90){ cout<<"A"; }else if(a>=80&&a<90){ cout<<"B"; }else if(a>=70&&a<80){ cout<<"C"; }else if(a>=60&&a<70){ cout<<"D"; }else{ cout<<"E"; } return 0; }
金杰錱
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a>=90){ cout<<"A"; } else if(a>=80&&a<90){ cout<<"B"<<endl; } else if(a>=70&&a<80){ cout<<"C"<<endl; } else if(a>=60&&a<70){ cout<<"D"<<endl; } else{ cout<<"E"<<endl; } }
AC神
正在减肥的吃货
#include<bits/stdc++.h> using namespace std; int a; int main(){ cin>>a; if(a>=90&&a<=100){ cout<<'A'; }else if(a>=80&&a<=98){ cout<<'B'; }else if(a>=70&&a<=79){ cout<<'C'; }else if(a>=60&&a<=69){ cout<<'D'; }else{ cout<<'E'; } return 0; }
只莹
阿瓦达啃大瓜
我和“进步的蜗牛”的小伙伴都在ACGO等你,快用这个专属链接加入我们吧! 点我加入
i amthebest™搬至洛谷
#include<iostream> using namespace std; int main(){ int n; cin>>n; if(n>=90 and n<=100) cout<<'A'; if(n>=80 and n<=89 ) cout<<'B'; if(n>=70 and n<=79 ) cout<<'C'; if(n>=60 and n<=69 ) cout<<'D'; if(n>=0 and n<=59 ) cout<<'E'; return 0; }
0000000000000000
逍遥骇好=&
_1943
黑白世界
王沐沐^-^~
毛奕程
zsy
6.