各位高手帮忙 输入分数 显示等级。
#include <stdio.h>void main()
{
int score;
printf("please enter score\n",score);
scanf("%d",&score);
if(score>=90) printf ("score is a%d\n",score);
if(score>=80&&score<=89) printf ("score is b%d\n",score);
if(score>=70&&score<=79) printf ("score is c%d\n",score);
if(score>=60&&score<=69) printf ("score is d%d\n",score);
if(score <60) printf ("score is e%d\n",score);
}