Question: Develop a Python program Write an algorithm that accepts the current date (year, month, day) and a persons birthday (year, month, day) and calculates the
Develop a Python program
Write an algorithm that accepts the current date (year, month, day) and a persons birthday (year, month, day) and calculates the persons age. If it happens to be the persons birthday, the program should also print a Happy Birthday message.
Sample output:
Enter today's date as mmddyyyy : 09142018 Enter your date of birth as mmddyyyy: 02151974 You are 44 years old today!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
