-->
当前位置:首页 > 题库

PROGRAMMING:Grade ascending order

Luz5年前 (2021-05-10)题库514
Write a program, input n (n < 30) students' C language test scores (integer) from the keyboard and store them in the array, sort them from low to high, and output the sorted scores.
###Input format:
Enter the value of N, and then enter n grades
###Output format:
Ascending output sorted results, each result after a space
###Input example:
Here is a set of inputs. For example:
```in
ten
90 93 1 77 23 92 77 32 91 40
```
###Output example:
The corresponding output is given here. For example:
```out
1 23 32 40 77 77 90 91 92 93
```







answer:If there is no answer, please comment