Problem

(Modifying Class GradeBook)Modify class GradeBook (Figs 1,2.) as follows:a) Include a seco...

(Modifying Class GradeBook)Modify class GradeBook (Figs 1,2.) as follows:

a) Include a second string data member that represents the course instructor’s name.


b) Provide a set function to change the instructor’s name and a get function to retrieve it.


c) Modify the constructor to specify course name and instructor name parameters.


d) Modify function displayMessage to output the welcome message and course name, then the string "This course is presented by: " followed by the instructor’s name.

Figure 1 GradeBook class definition containing function prototypes that specify the interface of the class.

Figure 2 GradeBook member-function definitions represent the implementation of class

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 16
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT