#include<stdio.h>
int main(void)
{
intscore;
while(1)
{
char grade;
printf("请输入成绩!! ");
scanf("%d",&score);
if(score>=90)
grade='A';
if(score>=80)
grade='B';
if(score>=70)
grade='C';
if(score>=60)
grade='D';
if(score>=50)
grade='E';
if(score>=40)
grade='F';
printf("您的分数:%d,等级:%c ",score,grade);
}
return0;
}