#2
yiyanxiyin2023-10-16 12:03
|
#include<stdio.h>
int main()
{
double t;
while(scanf("%lf",&t) !=EOF)
{
if(t > 100)
printf("Score is error!");
else if(t <= 100 && t>=90)
printf("A");
else if(t <= 90 && t>=80)
printf("B");
else if(t <= 80 && t>=70)
printf("C");
else if(t <= 70 && t>=60)
printf("D");
else if(t <=60 && t>=0)
printf("E");
}
return 0;
}