Question: n a dance competition, each contestant performs three (3) performances. Contestants receive a score from each performance [1-10]. The contestant's lowest score is erased and
n a dance competition, each contestant performs three (3) performances. Contestants receive a score from each performance [1-10]. The contestant's lowest score is erased and the sum of the remaining points is calculated. Accordingly, from the contestants who entered three performance points from the keyboard, write a C program that finds which contestant the winner is and displays it on the screen. Data entry must continue until 3 points are entered in Zero (0)!In the program, use a user-defined function called scorhesapla, which returns the sum of all but the lowest of the 3 points it receives as parameters. The returned value must be printed on the screen in the main function.
Note: no need to check the draw status!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
