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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started