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

PROGRAMMING:Find the maximum and minimum

Luz5年前 (2021-05-10)题库489
Input several (at least one) positive integers and output their maximum and minimum values.
###Input format:
Enter several numbers on a line, separated by spaces.
###Output format:
Output the maximum and minimum values as follows:
Max=?
Min=?
###Input example:
Here is a set of inputs. For example:
```in
4 5 67 3 99 2 7
```
###Output example:
The corresponding output is given here. For example:
```out
Max=99
Min=2
```







answer:If there is no answer, please comment