为什么运行后是一样的
#include"stdio.h"int main()
{
int score;
printf("请输入百分制成绩:\n");
scanf("%d",&score);
if(score>=90&&score<=100)
printf("成绩等级为A.\n");
else if(score>=80&&score<90)
printf("成绩等级为B.\n");
else if(score>=70&&score<80)
printf("成绩等级为C.\n");
else if(score>=60&&score<70)
printf("成绩等级为D.\n");
else if(score<0||score>100)
printf("成绩输入错误!\n");
else
printf("成绩等级为E.\n");
system("pause");
}
#include"stdio.h"
int main()
{
int score;
printf("请输入百分制成绩:\n");
scanf("%d",&score);
if(score>=90&&score<=100)
printf("成绩等级为A.\n");
else if(score>=80&&score<90)
printf("成绩等级为B.\n");
else if(score>=70&&score<80)
printf("成绩等级为C.\n");
else if(score>=60&&score<70)
printf("成绩等级为D.\n");
else if(score>0||score<100)
printf("成绩输入错误!\n");
else
printf("成绩等级为E.\n");
system("pause");
}