Question: C++ program. plz write in formal indentation and format, while follow the instruction on the program written by the teacher. Thank you very much. Project

 C++ program. plz write in formal indentation and format, while followthe instruction on the program written by the teacher. Thank you verymuch. Project Performers A particular talent competition has five judges, each of

C++ program. plz write in formal indentation and format, while follow the instruction on the program written by the teacher. Thank you very much.

whom awards a score between 0 and 10 to each performer. Fractionalscores, such as 8.3, are allowed. A performer's final score is determinedby dropping the highest and the lowest score received then averaging the

Project Performers A particular talent competition has five judges, each of whom awards 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 the lowest score received then averaging the three remaining scores. Write a program that calculates the score of each performer and determines the winner. Assume there's only one winner! Input: Read data from an input file named performers.txt. First create the input file: copy and paste the following data into a new text file: performers.txt John 7.0 7.8 7.1 7.9 7.5 Dan Mary 8.3 8.0 8.97.9 8.5 Andrew 9.1 8.9 9.0 8.7 9.1 Sue Linda 8.2 8.4 8.9 9.3 8.5 David 9.0 5.6 8.9 9.9 7.3 Ann 8.3 2.9 9.89.2 9.7 9.0 8.8 9.1 9.7 9.3 7.9 8.2 7.6 8.1 8.0 You may assume that a performer is identified by its unique first name (no two performers have the same first name) Output: Write the number of participants, the name of the winner and the winner's score to the screen. Write to a file named results.txt the names of the performers and their final score /NOTE: You must write documentation for each function - see next page

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!