Question: Write a C++ program to do following: 1. Prompts the user for today's date and birthday in mm dd yyyy format. 3. Define a function
Write a C++ program to do following: 1. Prompts the user for today's date and birthday in mm dd yyyy format. 3. Define a function to calculate user's age as year, month and day. Your function should take ti dates as parameters. Example output: (Assume that messages indicated in bold are entered by user) Please enter today's date: 02 05 2020 Please enter your birthday: 01 01 1980 Your age is: 40 years 1 months 4 days
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
