主观

学习成绩>=90分的用A表示,60-89分之间的用B表示,60分以下的用C表示。

main()

{int score;

char grade;

printf("please input a score!\n");

scanf("%d",&score);

grade=score>=90?'A':(score<90?'B':'C');

printf("%d belongs to %c",score,grade);

}

错误:______

改正:______

参考答案
您可能感兴趣的试题
¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服