求分数的等级、错在哪?
# include <stdio.h>int main(void)
{
float score;
printf("请输入你的考试成绩: ");
scanf("%f", &score);
if (score > 100)
printf("这是做梦!\n');
else if (score>=90 && score<100)
printf("优秀!");
else if (score>=80 && score<90)
printf("良好!");
else if (score>=60 && score<80)
printf("及格!");
else if (score>=0 && score<60)
printf("你中奖啦!");
else
printf("我靠!");
}