Question: Hey can you help me with this programing for C++? DateClass Private: Month: int Day: int Year: int MonthName(): string Public: DateClass(int, int, int) PrintMonth():
Hey can you help me with this programing for C++?


DateClass Private: Month: int Day: int Year: int MonthName(): string Public: DateClass(int, int, int) PrintMonth(): void Procedure: 1. Create the Class DateClass with the following objects: 3 integer class variables (Month, Day, Year), and a (1) function call MonthNamel). These 4 object will be private. 2. In the public side of the class implement the constructor DateClass(int, int, int). The constructor will have 3 integers as parameters (m-> month, d-> day, y->year) those 3 parameters must be storage in the class variable Month, Day, and Year. And, the function PrintMonth). This function won't return anything, and it won't accept any parameter. Its only function will be to evaluate the variables: Month, Day, and Year and print it in the format shown in the first graphic. Don't forget that the PrintMonth() function must invoke the MonthName() function to evaluate the Month variable. 3. The function MonthNamel) which it will return an string (the month ex: 1=> January, 2= February etc.) You will need to use the IF statement to evaluate the Month passed by the Application when you create the instance of the class 4. Make a screenshot of all your output and code. And Paste them in this MS Word Document
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
