#include<stdio.h>
int main(void)
{
int score;
printf("Enter your score:");
while(scanf("%d",&score)==1)
{
switch(score)
{
case(score>=90):putchar('A');
break;
case(score>=80&&score<90):putchar('B');
break;
case(score>=70&&score<80):putchar('C');
break;
case(score>=60&&score<70):putchar('D');
break;
case(score<60):putchar('E');
break;
default:break;
}
printf("Enter again:\n");
}
printf("Done!\n");
return 0;
}
斯蒂芬大帝
一只萌萌小番薯
牛魔王的故事