Question: Write a complete C++ program that repeatedly prompts the user to enter a student's score until -1 is entered. Upon reading -1 the program should

 Write a complete C++ program that repeatedly prompts the user to

Write a complete C++ program that repeatedly prompts the user to enter a student's score until -1 is entered. Upon reading -1 the program should stop reading students' scores. It then displays the total number of students entered and the average score of all the students. Use proper programming styles (e.g. -add comments; indent and align the statements). Sample Run: Enter a score for student #1: 80 Enter a score for student #2: 70 Enter a score for student #3: 60 Enter a score for student #4: -1 Total number of students entered = 3 Average score = 70 #include #include using name space std

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!