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

PROGRAMMING:Statistical results (*)

Luz5年前 (2021-05-10)题库433
Input the score of a class, output the highest score, lowest score and average score.
####Input format
>Class size $$n $$(n > 0)$$
>Results of $$n $$Students $$s_ 1, s_ 2, \cdots , s_ n$$ $$(0 \leq s_ i \leq 100, 1 \leq i \leq n)$$
####Output format
>Highest score, lowest score, average score
Requirements: all fractions only output 1 decimal place.
####Input sample
```in
fifteen
98.5 67.3 45.5 90 75.2 65 77 99.5 20 100 80.5 69.5 88.5 66.5 87.5
```
####Output sample
```out
100.0 20.0 75.4
```







answer:If there is no answer, please comment