JJ logo

Lab 18

. Olympic Scoring

Write a program that will calculate the score
of an Olympic athlete

----------------------------------------
Lab #18.1: Olympic scoring
----------------------------------------

In the olympics, many sports use judges to
score the athletes.  There are numerous judges
and they do not all agree on one accurate score.
Instead, each judge supplies their personal view
of an accurate score.  An average of the judges'
scores is used to give a final score for an
athelete's performance.

To get as accurate of a score as possible, write
a program that will remove the highest and the
lowest scores of seven judges and then average
the remaining five scores.

The input for the program will be seven double values.
The output from your program should be the average
of the remaining five scores once the highest and the
lowest values are removed.