拿出吧,不谢!
#include <stdio.h>
int main()
{
int a;
printf("输入数值:\n");
scanf("%d", &a);
printf("输入数是:%d\n", a);
if(a < 60)
printf("This leval is E\n");
else if( a >= 60 && a < 70)
printf("This leval is D\n");
else if( a >= 70 && a < 80)
printf("This leval is C\n");
else if( a >= 80 && a < 90)
printf("This leval is B\n");
else printf("This leval is A\n");
return 0;
} |