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

PROGRAMMING:C programming experiment 5-1 maximum value problem

Luz5年前 (2021-05-10)题库524
Input the score of a course from the keyboard (the maximum number of students in each class is not more than 40). When the input value is negative, it means the end of input. Try to program to calculate and print the highest score.
###Input format:
A sequence of up to 40 integer fractions separated by spaces, ending with a negative number
###Output format:
Highest score
###Input example:
Here is a set of inputs. For example:
```in
85 73 62 99 100 93 -1
```
###Output example:
The corresponding output is given here. For example:
```out
one hundred
```







answer:If there is no answer, please comment