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

PROGRAMMING:Scoring rules

Luz5年前 (2021-05-10)题库474
Xiao Ming played with his friends and invited five referees. For each child's performance, each referee gives a score. The calculation rule of the total score is: remove the highest score, remove the lowest score, and calculate the average score of the remaining scores as the total score. Please help Xiao Ming write a program to calculate the total score.
###Input format:
Give five integers in a row between 0 and 100, separated by a space. The five integers have been arranged in descending order.
###Output format:
Output the total score in one line, and keep 2 decimal places.
###Input example:
```in
100 99 98 97 96
```
###Output example:
```out
ninety-eight
```






answer:If there is no answer, please comment