Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started