Answered step by step
Verified Expert Solution
Link Copied!

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:

image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions

Question

True or false The entire human population shows variations?

Answered: 1 week ago

Question

National park in India?

Answered: 1 week ago

Question

How did the guard ant recognise this ant ?

Answered: 1 week ago

Question

What did the ants do with the food?

Answered: 1 week ago