Question: Write a C + + program that reads in three integer values that represent a month, date, and four - digit year. Your program should
Write a C program that reads in three integer values that represent a month, date, and fourdigit year. Your program should print the date in one of following formats depending on the user's input.
If the user enters then print the month as a word January the date as an integer and the year
If the user enters then print the month as a threeletter abbreviation "Jan. date as an integer and the year
If the user enters then print month as an integer the date as an integer and the year
Here is a sample run users input shown in bold:
Please enter a date three integers: month, day, year:
How would you like to print your date?
Month date, full year. January : Enter
Abbreviated month date, full year Jan: Enter
Monthdateyear : Enter
If the user enters then the output would be
December
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
