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

PROGRAMMING:Task 10-01-05 find the maximum of 5 numbers

Luz5年前 (2021-05-10)题库641
Task 10-01-05 find the maximum of 5 numbers
###Task description
```
Design a program to get the minimum and maximum number from 5 integers
```
###Input format:
```
The input has only one set of test data, which is five positive integers no more than 10000
```
###Output format:
```
Output two numbers, the first is the minimum value of the five numbers, the second is the maximum value of the five numbers, and the two numbers are opened in an empty lattice.
```
###Input example:
```in
1 2 3 4 5
```
###Output example:
```out
1 5
```
###Title Source
This topic is selected from nyoj website, online address: http://nyoj.top/problem/31







answer:If there is no answer, please comment