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

PROGRAMMING:Or the maximum

Luz5年前 (2021-05-10)题库431
Write a function that returns the maximum value in the array.
In the main function, first input an integer n (1 < n < = 100), then input n integers into the array, call the function to get the maximum output of the N numbers.
###Input format:
The first line is integer n, and the second line is n integers
###Output format:
Maximum output
###Input example:
```in
five
1 8 9 0 4
```
###Output example:
```out
nine
```
###Input example:
```in
ten
1 8 9 0 4 3 2 5 -3 21
```
###Output example:
```out
twenty-one
```







answer:If there is no answer, please comment