c/c++课的作业合集,都是很简单的文件。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
445 B

#include <stdio.h>
int main() {
int score = 0;
scanf("%d", &score);
int level = score / 10;
switch (level) {
case 10:
case 9:
printf("甲等");
break;
case 8:
printf("乙等");
break;
case 7:
printf("丙等");
break;
default:
printf("没有奖金~");
break;
}
}