Question: Write a program student.cpp that implements a class Student. For the purpose of this exercise, a student has a name and a total quiz score.

Write a program student.cpp that implements a class Student. For the purpose of this exercise, a student has a name and a total quiz score. Supply an appropriate constructor and functions get name(), add quiz(int score), get total score(), and get average score(). To compute the latter, you also need to store the number of quizzes that the student took. Please assume quiz scores are integers between 0 and 10.

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!