Question: Write a program that accepts two dates (YYYY MM DD) where the first date is a person's birthday and the second is the date that
Write a program that accepts two dates (YYYY MM DD) where the first date is a person's birthday and the second is the date that you need to calculate a person's age (in years on). You can assume that the second date is later than the first.
in C++ language
You need to output the person's age. Additionally, you also need to output if that person has had a borthday that calendar year yet.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
