HDU/2004/main.c
Saturneric 0525ffad24 Add.
2020-09-01 00:48:58 +08:00

17 lines
432 B
C

#include <stdio.h>
int main(void){
int score = 0;
while(scanf("%d",&score) == 1){
if(score >= 0 && score <= 100)
if(score >= 90) printf("A\n");
else if(score >= 80) printf("B\n");
else if(score >= 70) printf("C\n");
else if(score >= 60) printf("D\n");
else printf("E\n");
else printf("Score is error!\n");
getchar();
}
return 0;
}