Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Modify class GradeBook as follows: a) Include a second string data member that represents the course instructor's name. b) Provide a set function

1) Modify class GradeBook as follows: a) Include a second string data member that represents the course instructors name. b)

1) Modify class GradeBook 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 display Message to output the welcome message and course name, then the string "This course is presented by: " followed by the instructor's name. Use your modified class in a test program that demonstrates the class's new capabilities.

Step by Step Solution

3.58 Rating (158 Votes )

There are 3 Steps involved in it

Step: 1

include include class GradeBook public GradeBookconst stdstring courseName const stdstring instructo... 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

Step: 3

blur-text-image

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

Numerical Methods For Engineers

Authors: Steven C. Chapra, Raymond P. Canale

5th Edition

978-0071244299, 0071244298

More Books

Students also viewed these Programming questions