新人求罩、简单的问题= =、
写一个代码 总分100 分
90-100是等级A;
80-89是等级B;
70-79是等级C
60-69是等级D
0-50是等级E
#include<stdio.h>
void main()
{
float fScore;
printf("Plesae input your score:\n");
scanf("%f",&fScore);
if((fScore)>=90);&&(fScore<=100))
printf("Your score is A\n");
else if(fScore>=80)
printf("Your score is B\n");
else if(fScore>=70)
printf("Your score is C\n");
else if(fScore>=60)
printf("Your score is D\n");
else if(fScore>0)
printf("Your score is E\n");
else
printf("You have no score !");
}
上面是我打好了的代码 可是却显示有个 error- -
大家帮我看看 哪儿出错了
唉新人入门 啥子都不懂。。。