Question: C++ Please! Exercise 1: Student (This is essentially Exercise E9.8 of the book) Write a program student.cpp that implements a class Student. For the purpose
C++ Please!

Exercise 1: Student (This is essentially Exercise E9.8 of the book) 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. Please have the output formatted exactly like the following examples: (the red is user input) Enter name: Lisa Bahar Enter quiz scores (Q when done): 10 10 8 8 Q Total Score: 36 Average score: 9 Enter name: Joe Larson Enter quiz scores (Qwhen done): 770Q Total score: 14 Average score: 4.66667 Note: Assume students always have a first and last name (with no numbers and no middle name), and they always have at least one quiz score. Note on formatting: We'll stress again please have the formatting like the above examples. Make sure to have colons. No invalid inputs: You do NOT have to worry about the user giving invalid inputs like names with numbers, really large numbers, etc. . You may not use stdafx.h
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
