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
Get step-by-step solutions from verified subject matter experts
