Question: The class dateType, prints the date in numerical form. Some applications might require the date to printed in another form, such as March 24, 2003.

The class dateType, prints the date in numerical form. Some applications might require the date to printed in another form, such as March 24, 2003. Derive the class extDateType so that the date can be printed in either form.

Add a data member to the class extDateType so that the month can also be stored in string form.

Add a function member to output the month in the string format followed by the year -- for example, in the form March 2003.

Write the definitions of the functions to implement the operations for the class extDateType.

Please upload your solution in 5 files,

1) dateType.h

2) dateType.cpp

3) extDateType.h

4) extDateType.cpp

5) main.cpp

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!