Question: Please help... C++ Console Application following the requirements below to allow entry of five game scores for a bowler so that an average score can

Please help...

C++ Console Application following the requirements below to allow entry of five game scores for a bowler so that an average score can be calculated, high and low scores determined, with all results displayed.

Detailed requirements:

When the program starts the bowler is prompted for a score for Game 1. Accept the bowling score from the user; valid bowling scores must be whole numbers between 0 and 300. Use GetValidInteger() from MyInputValidation.h to accept and validate user input. Once the entered score passes all validation, store the score in the relevant index of an array large enough to hold the five scores to be entered. The steps outlined above will all have to repeat (iterative structure required) to allow the entry of good scores for five games. Refer to the sample output on the next page to help guide you in your planning. For the purpose of this lab you must process your average score, and high/low scores at the time of each input. Ensure that the average is eventually rounded to the nearest whole number. NOTE: For this lab you may not use any of the sorting or searching functions to obtain the average, high or low You are required to write selection/iteration logic specific to the requirements of this lab. After input, clear the screen and then produce output to match the screenshots supplied. Display the original scores as shown followed by the player average, high score, and low score. Display a prompt to the user asking if they would like to process another bowlers scores for average calculation and high/low determination. If the user elects to enter another bowlers scores, clear the screen and repeat the entire process again beginning with a prompt to enter a score for Game 1; otherwise end the application with no further notification.

Please help... C++ Console Application following the requirements below to allow entry

of five game scores for a bowler so that an average score

Please enter ScOre for Game 1 125 Please enter score for Game 2: 400 and 300 Invalid input. Please try again and enter a value between 300 Please enter SCOre for Game 3 256 Please enter score for Game 4 Bob Invalid input. Please try again and enter a nuneric value 100 Please enter score for Game 5: 218

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!