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

PROGRAMMING:Use the selection method to sort the integers in the array from small to large

Luz5年前 (2021-05-10)题库375
Write the sorting function of selection method, use the selection method to sort the integers in the array from large to small.
###Input format:
From the keyboard to the size of 10 elements of the integer array arbitrary assignment.
###Output format:
Output 10 integers in a row in descending order (each integer is output in 5 column width).
###Input example:
```in
-5 28 67 0 2 7 -6 5 36 -10
```
###Output example:
```out
67 36 28 7 5 2 0 -5 -6 -10
```







answer:If there is no answer, please comment