Question: Write a C++ program to help your professor to compute the average grade for each student in a class. Your program must ask the professor

Write a C++ program to help your professor to compute the average grade for each student in a class.

Your program must ask the professor to enter a number of students and quizzes first. Secondly, read grades per each student as shown in the sample output. Calculate and print the average grades for each student.

Sample i/p:

Enter number of Students: 4

Enter number of Quizzes: 3

Enter Quiz grades for student 1 : 2 7 9

Average grade for student 1 is 6

Enter Quiz grades for student 2 : 3 2 1

Average grade for student 2 is 2

Enter Quiz grades for student 3 : 5 2 9

Average grade for student 3 is 5.33333

Enter Quiz grades for student 4 : 6 9 1

Average grade for student 4 is 5.33333

DO NOT USE ARRAYS

YOU CAN USE NESTED LOOPS OR MULTIWAY STATEMENTS

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!