帮忙看看哪里错了,谢谢
#include <stdio.h>#include <math.h>
void main()
{
float mark;
char grade;
scanf("%f",&mark);
if(90<=mark<=100)
grade='A';
else if(80<=mark<90)
grade='B';
else if(70<=mark<80)
grade='C';
else if(60<=mark<70)
grade='D';
else grade='E';
printf("%c\n",grade);
}
编译也通过了,但是输出结果总是出现A,不晓得哪里出问题了,劳烦各位帮忙看看