Question: Q1 Write a C++ program that will show the difference between each of a list of golf scores and their average. The program should use

 Q1 Write a C++ program that will show the difference between

Q1 Write a C++ program that will show the difference between each of a list of golf scores and their average. The program should use and array of maximum 10 numbers. The program should use three functions (Fill_Array) to fill the array, (Compute_Average) to compute the average of the golf scores entered by the user, and (Show_difference) to display the difference between each of the list of scores and their average. Below is a sample dialogue to give you an idea of how would the program works: This program reads golf scores and shows how much each differs from the average. Enter golf scores: Enter up to 10 nonnegative whole numbers. Mark the end of the list with a negative number 69 74 68-1 Average of the 3 scores 70.3333 The scores are: 69 differs from average by -1.33333 74 differs from average by 3.66667 68 differs from average by -2.33333

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!