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

PROGRAMMING:Screening students with higher than average scores

Luz5年前 (2021-05-10)题库413
Enter the student grade of a class, print the average score, and the student grade above the average score.
###Input format:
Enter the grade of a class in one line (the grade can contain one decimal place), separated by a space.
###Output format:
Print the class average (1 decimal place) and the students' scores above the average( There is a space after the last score)
###Input example:
Here is a set of inputs. For example:
```in
98.5 56 34 77 82.5 99
```
###Output example:
The corresponding output is given here. For example:
```out
ave=74.5
98.5 77 82.5 99
```







answer:If there is no answer, please comment