Starting from:
$30

$24

Lab 08 Solution

Objectives:







Class and Data Abstraction



Implement a user defined class



Separate Class declaration and definition






Question 1:







On blackboard, you will find files named “Day.h” and “Question1.cpp”. The header provides the complete declaration for the Day class. Without modifying the declaration, complete the methods of the class and use Question1.cpp to verify your implementation. The output should match the example below.




Example 1:




Default Constructor: SUN




Thursday Constructor: THU




Added 5 days to Thursday: TUE




Tomorrow is: WED




Yesterday was: MON




Press any key to continue . . .

More products