Slide 1Slide 2Slide 3Slide 4COSC 181 – Foundations of Computer ProgrammingClass 7GradeBook – Updated Class DiagramNameClass Attributes- means its privateClass Member Functions+ means its public() – include parameters here: - include type (if any) after hereTry ItType in and test Fig 3.5.Compile and Run•When you are done, do not close DevC++In Class ExerciseModify class GradeBook1. Include a second string data member that represents the course instructor’s name2. Provide a set function to change the instructor’s name3. 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.4. Compile and Run with the modified class.Output: Initial course name is: C++ Instructor's name is: Dr. Ray Welcome to the grade book for C++ This course is presented by: Dr.
View Full Document