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

PROGRAMMING:Sort real numbers

Luz5年前 (2021-05-10)题库373
Input several numbers (there may be integer and floating point numbers with decimal), sort them in ascending order and output them.
###Input format:
Enter several numbers on a line, separated by spaces.
###Output format:
Output the number sorted in ascending order, separated by spaces, with no spaces at the end.
###Input example:
Here is a set of inputs. For example:
```in
4 5.12 67 3.14 99.5 2 7
```
###Output example:
The corresponding output is given here. For example:
```out
2 3.14 4 5.12 7 67 99.5
```







answer:If there is no answer, please comment