Question: Part III 1:5 Marks] Write a program that prompts the user to enter a positive integer of at most six digits. The program calls the

 Part III 1:5 Marks] Write a program that prompts the user

Part III 1:5 Marks] Write a program that prompts the user to enter a positive integer of at most six digits. The program calls the void function date(int, int&,string&, int&) which converts the integer to a day, a month, and a year. The month should be the string name of the month and the year should be a four digits year number. For example, the integer 130217 represents day 17, month 02 which is February, and the year 13 wll be written as 2013. The main program writes the date. Sample inputs/outputs: Enter a nunber: 138217 he nunber 138217 represents the date February 17, 2813

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!