Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started