> 其他 >
c语言题目:给出一百分制成绩,要求输出成绩等级‘A'、’B‘、'C'、‘D'、'E’.90分以上为A,80~89分为B,70~79分为C,60~69分为D,60分一下为E.
人气:348 ℃ 时间:2020-04-11 22:47:00
解答
#include main(){int iNum;sacnf("%d", &iNum);switch (iNum / 10){case 10:case 9 : printf("A\n");break;case 8 : printf("B\n");break;case 7 : printf("C\n");...
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版