Question: Create a C++ project to help C++ instructor to calculate the average score of students. Asks user to enter number of students in the C++

Create a C++ project to help C++ instructor to calculate the average score of students.

  • Asks user to enter number of students in the C++ class, and how many exams each student completed.
  • You must use nested "for" repetition structure to input and process all scores:
    • Repeatedly to enter and process scores for each student in the outer for loop.
    • Repeatedly to enter and process each exam score for one student in the inner for loop.
  • Use continue statement to skip the invalid score entry and adjust the number of scores as well. Do not count the invalid score when calculating the student's average score.
  • Your program should calculate and display each student's average score, and the class average score.

Sample input / output:

Create a C++ project to help C++ instructor to calculate the average

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 Programming Questions!