Write a program that contains a class that implements the days of the week. The program should be able to perform the following on an object of the class.
* Set the day
* Print the day to the computer monitor (not the printer)
* Return the day
The steps are outlined below, this is for C++, I am using microsoft visual 2005:
STEP 1: Create the Project and Main Class
Create a new console application project and name it "Week1Lab_YourName".
Create a new class called DayOfTheWeek. The class should have a data member that can store the day of the week such as Mon for Monday, Tues for Tuesday etc...
STEP 2: Create the Member Functions
Create the necessary member functions that will perform the required operations outlined in the lab summary above.
Call these functions setDay, printDay, and getDay.
STEP 3: Create a Main() Program
Write a main program that will instantiate two objects of the class DayOfTheWeek. Use these objects to test the various operations on this class.