Question: C++// Write a program that uses the Date class you defined in 7.1a. The program prompts date information: and then reads three integers :

C++//

Write a program that uses the Date class you defined in 7.1a. The program prompts "date information: " and then reads three integers : the date, the month and the year. The program then prints the date three times, each time on a line by itself. The first time the date is in numerical format, the second in month-first format, and the third time in date first format. Here is one sample run:

date information: 15 3 2014 3/15/2014 March 15, 2014 15 March 2014 

Note: Do not define the class here-- just write the program that uses it.

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!