Question: CODE USED FOR C++ CODE FOR C++ A particular competition has five judges, each of whom award a score between 0 and 10 to each
CODE USED FOR C++

CODE FOR C++
A particular competition has five judges, each of whom award a score between 0 and 10 to each performer. Fractional scores, such as 8.3, are allowed. A performer's final score is determined by dropping the highest and lowest score received then averaging the three remaining scores. Write a program that uses this method to calculate a contestant's score. It should include the following functions: double getJudgeData() should ask the user for a judge's score, validate it, and then return it to main. This function should be called by main once for each of the five judges. [score l = get Judge Data (); score2 = get Judge Data (); etc.] void calcScore0 should calculate and display the average of the three scores that remain after dropping the highest and the lowest scores the performer received. This function should be called just once by main and should be passed the five scores. double find Lowest () should find and return the lowest of the five scores passed to it. double find Highest () should find and return the highest of the five scores passed to it. Input Validation: Do not accept judge scores lower than 0 nor higher than 10. Sample Input/Output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
