DOC PREVIEW
UVa-Wise COSC 181 - Foundations of Computer Programming

This preview shows page 1 out of 4 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Slide 1Slide 2Slide 3Slide 4COSC 181 – Foundations of Computer ProgrammingClass 7GradeBook – Updated Class DiagramNameClass Attributes- means its privateClass Member Functions+ means its public() – include parameters here: - include type (if any) after hereTry ItType in and test Fig 3.5.Compile and Run•When you are done, do not close DevC++In Class ExerciseModify 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

UVa-Wise COSC 181 - Foundations of Computer Programming

Download Foundations of Computer Programming
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Foundations of Computer Programming and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Foundations of Computer Programming 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?