新手,请教。。。
main(){
int score;
scanf("%d",&score);
if(score<0&&score>100)printf("you put a wrong score.");
else if(score<60)printf("you score is E.");
else if(score>=60&&score<70)printf("you score is D.");
else if(score>=70&&score<80)printf("you score is B.");
else if(score>=80&&score<90)printf("you score is C.");
else printf("you score is A.");
}
输入大于100的数 还是显示you score is A. 不知道怎么回事 请指教。
谢谢。