Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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