编写程序,键盘输入10位学生的成绩,按大到小排序并输出 - CSDN文库 2024年4月11日 - #include stdio.h #define N 10 int main() { int i,j,a[10],t; for(i= 0;i N;i++) { scanf( %d ,&a[i]); } for(i = 0;i N;i++) { for(j = 0;j N ...
输入若干个学生的成绩,输入负数时结束输入,输出最高成绩 - CSDN文库 2023年6月2日 - 以下是示例代码: ~~~python highest_score = -1 while True: score = int(input( 请输入学生的成绩: )) if score 0: break if score highest_score: h...