c语言中怎么将考试分数分等级,例如90到100分为A等级~

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/06 06:23:50
c语言中怎么将考试分数分等级,例如90到100分为A等级~

c语言中怎么将考试分数分等级,例如90到100分为A等级~
c语言中怎么将考试分数分等级,例如90到100分为A等级~

c语言中怎么将考试分数分等级,例如90到100分为A等级~
#include "stdio.h"
void main()
{
int score;
while((scanf("%d", &score))==1){
if(score100)
printf("Your input is wrong!\n");
if(score>=90&&score=80&&score=70&&score=60&&score=0&&score