Question: Write a C++ function that computes a dance competition score for each of the participmits. Use a combination of structs and arrays. The number of
Write a C++ function that computes a dance competition score for each of the participmits. Use a combination of structs and arrays. The number of dancers in the competition is stored in the variable called numdancers. There are four judges who rank the dancers in the range of 0 to 10, and the overall score is the average of the three highest scores (the lowest score is excluded). Your function should output an error message, instead of the average, if any of the scores are not in the correct range. Each dancer has a first name, a last name, and a numeric ID number. Print each dancers first name, last name, ID number, and score. Use external files as necessary.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
