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 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
Get step-by-step solutions from verified subject matter experts
