Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please submit the C++ code for the combined questions below. You CANNOT use namespace STD so please refrain from using. This assignment involves 4 files:

Please submit the C++ code for the combined questions below. You CANNOT use namespace STD so please refrain from using.

This assignment involves 4 files: student.h, grade.h, student.cpp, grade.cpp. It also has main.cpp to run it all.

Your Help Is Greatly Appreciated, I am having trouble using C++ Classes.

image text in transcribed

Exercise P5.9. Implement 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_nameO, add_quiz(int score), get_total_scoreO, and get_average_scoreO. To compute the latter, you also need to store the number of quizzes that the student took. Exercise P5.10. Modify the Student class of Exercise P5.9 to compute grade point averages. Member functions are needed to add a grade, and get the current GPA. Specify grades as elements of a class Grade. Supply a constructor that constructsa grade from a string, such as "B+". You will also need a function that translates grades to their numeric values (for example, "B+" becomes 3.3)

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_2

Step: 3

blur-text-image_3

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

Microsoft Visual Basic 2008 Comprehensive Concepts And Techniques

Authors: Gary B. Shelly, Corinne Hoisington

1st Edition

1423927168, 978-1423927167

More Books

Students also viewed these Databases questions

Question

Test procedures

Answered: 1 week ago

Question

Calculate NPV.

Answered: 1 week ago