In competitive diving, each diver makes three dives of varying degrees of difficulty. Nine judges score each dive from 0 through 10 in steps of 0.5. The total score is obtained by discarding the lowest and highest of the judges'
below question in "C" programming.;In competitive diving, each diver makes three dives of varying degrees of difficulty. Nine judges;score each dive from 0 through 10 in steps of 0.5. The total score is obtained by discarding the;lowest and highest of the judges' scores, adding the remaining scores, and then multiplying the;scores 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.;Input;1. Number of divers;2. 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 grouped;together, then all for Dive 2, then all for Dive 3.;Output;1. A table that contains the following information;Name Dive I Dive 2 Dive 3 Total;where Name is the diver's name, Dive 1, Dive 2, and Dive 3 are the total points received for a;single dive, as described above, and Total is the overall total.
Paper#68132 | Written in 18-Jul-2015Price : $22