Question: Beginning Programmin C++ Question 12 Noes swered Marked oot 30.00 Rag question Write a complete program in which the main function contains a loop that

Beginning Programmin C++

Beginning Programmin C++ Question 12 Noes swered Marked oot 30.00 Rag question

Question 12 Noes swered Marked oot 30.00 Rag question Write a complete program in which the main function contains a loop that prompts the user to enter a name and four test scores. The program will then display the name and the average of the the highest three of those four test scores, computed by calling the testAverage function you wrote in the previous problem. Do not write that function again. The program will continue to process names and test scores until the user hits the cENTER> key for the name. The program will then state the number of students that were processed and the average score for the entire class. Scores should be shown with two digits following the decimal point. Sample run, with user input in bold type: Welcome to Test Average! Please enter student name: Jack Sparxow Please enter four scores: 100 90 80 70 The average score for Jack Sparrow is 90.00 Please enter student name: Hector Barbossa Please enter four scres: 100 90 80 94 The average score for Hector Barbossa is 94.67 Please enter student name:ENTER KEY PRESSED > I computed grades for 2 students The class average is 92.33

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!