Hacker Challenge: Age Calculator
Learn to make an age calculator program using functions.
In this lesson, we want to make an age calculator, which can calculate the age of any person up to the entered present date.
Age calculator
The program should take two dates as input and calculate age.
Sample input
Date of birth: 24 5 1997
Current date: 26 8 2017
Sample output
20 years 3 months 2 days
Get hands-on with 1200+ tech skills courses.