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

PROGRAMMING:Finding the maximum and minimum of a set

Luz5年前 (2021-05-10)题库421
The known set a contains five elements, which are 21, 234, - 32,3, - 32,3, - 55, respectively, 21, 234, - 32,32,3, - 55, which is 21, 234, - 32,3, - 55. Please program the following functions: ‪‪‪‪‪ ‪8234;8236;‪8236;‬‪‬‬‬‬82368236;‬8236\8236\\\8236\\\\\\8236\\\\\\\\\\\\8236‪‪‬‪‬‪‬‬‬‮‬‬‪‬‬‬‬‬‬‬‬‬‬‬
Output set a ‪‪‪‪‪‪‪‪‪‪‪‪‪‬‬‬‬‬‬‪‪‬‪‬‪‪‪‪‪‪‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬8236;‪‬‬‮‬‪‬‪‬‬‪‬‬
2. The maximum value in output set a is ‪‪‪‪‪‪‪‪‪‪‪‪‬‪‪‬‬‬‬‬‬‬‬‬‬‪‪‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬82‪‬‪‬‬‮‬‬‪‬‬‬‬
3. Output the minimum value in set a
###Input format:
nothing
###Output format:
Set a
Maximum value of set a
Minimum value of set a
###Input example:
```in
nothing
```
###Output example:
```out
{-32, 3, -55, 234, 21}
two hundred and thirty-four
-55
```







answer:If there is no answer, please comment