Answered You can hire a professional tutor to get the answer.

QUESTION

In competitive diving, each diver makes three dives of varying degrees of difficulty.

I need help to write the below question in "C" programming.In competitive diving, each diver makes three dives of varying degrees of difficulty. Nine judgesscore each dive from 0 through 10 in steps of 0.5. The total score is obtained by discarding thelowest and highest of the judges' scores, adding the remaining scores, and then multiplying thescores by the degree of difficulty. The divers take turns, and when the competition is finished,they are ranked according to score. Write a program to calculate the outcome of a competition,using the following input and output specifications.Input1. Number of divers2. Diver's name (ten characters), difficulty (float), and judges' ratings (nine floats)3. There is a line of data for each diver for each dive. All the data for Dive I are groupedtogether, then all for Dive 2, then all for Dive 3.Output1. A table that contains the following information:Name Dive I Dive 2 Dive 3 Totalwhere Name is the diver's name; Dive 1, Dive 2, and Dive 3 are the total points received for asingle dive, as described above; and Total is the overall total.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question