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

PROGRAMMING:Keyboard input learning course name and test scores and other information and calculate

Luz5年前 (2021-05-10)题库462
Keyboard input learning course name and test scores and other information, the screen output the highest score courses and scores, the lowest score courses and scores, and the average score (retain 2 decimal places).
###Input format:
Enter the course name, test scores and other information on the keyboard, separate the information with spaces, one line for each course, * *, enter empty line, and end the entry * *.
###Output format:
The screen outputs the courses and grades with the highest score, the courses and grades with the lowest score, and the average score (with 2 decimal places reserved).
###Input example:
The sample format is as follows:
```in
Mathematics 90
Chinese 95
English 86
Physics 84
Biology 87
```
###Output example:
```out
The highest score course is Chinese 95, the lowest score course is physics 84, the average score is 88.40
```







answer:If there is no answer, please comment