Question: Somone please help code this (C++) Lab Homework 14 Use while loop allow a user to control when to stop It repeats as This program

 Somone please help code this (C++) Lab Homework 14 Use while

Somone please help code this (C++)

Lab Homework 14 Use while loop allow a user to control when to stop It repeats as This program averages 3 test scores. many times as the user wishes. Write a while loop that will continue to prompt the user to enter 3 scores and then calculates the average. After displaying the average, the loop should ask the user if they want to average another set of scores. #include using namespace std; int main() { /* Create a program that produces the Sample Output shown at the bottom. You MUST: Output all of the lines show below in the Sample Output - spacing, spelling, punctuation, etc. must be exact matches - Declare variables and/or constants appropriately, name them according to standards (points will be deducted for poor names), and be sure to use appropriate data types NOTE: You should NOT expected to validate the score inputs to be sure they fall within a proper range - Do NOT worry about letters entered when numbers should be, etc. Your program should accept Y or y as proper entries for entering another group of scores - The Sample Output illustrates ONE run of the program, you need to repeat until the user says to stop. */ // return 0; } /* Sample Output Enter 3 scores and I will average them: 88 91 92 The average is 90.3333 Do you want to average another set? (Y/N) Y Enter 3 scores and I will average them: 65 70 75 The average is 70.0000. Do you want to average another set? (Y/N) y Enter 3 scores and I will average them: 92 93 96 The average is 93.6667. Do you want to average another set? (Y/N) n Press any key to continue

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!