The following are four runs of your program and their expected output (user inpu
ID: 3627291 • Letter: T
Question
The following are four runs of your program and their expected output (userinput is bold and underlined):
This program tells you how many days it will be until your next birthday.
Please enter today's date:
What is the month (1-12)? 7
What is the day (1-31)? 24
7/24 is day #205 of 365.
Please enter your birthday:
What is the month (1-12)? 11
What is the day (1-30)? 6
11/6 is day #310 of 365.
Your next birthday is in 105 days.
-------
This program tells you how many days it will be until your next birthday.
Please enter today's date:
What is the month (1-12)? 9
What is the day (1-30)? 22
9/22 is day #265 of 365.
Please enter your birthday:
What is the month (1-12)? 3
What is the day (1-31)? 17
3/17 is day #76 of 365.
Your next birthday is in 176 days.
--------
This program tells you how many days it will be until your next birthday.
Please enter today's date:
What is the month (1-12)? 2
What is the day (1-28)? 14
2/14 is day #45 of 365.
Please enter your birthday:
What is the month (1-12)? 2
What is the day (1-28)? 15
2/15 is day #46 of 365.
Wow, your birthday is tomorrow!
------
This program tells you how many days it will be until your next birthday.
Please enter today's date:
What is the month (1-12)? 12
What is the day (1-31)? 25
12/25 is day #359 of 365.
Please enter your birthday:
What is the month (1-12)? 12
What is the day (1-31)? 25
12/25 is day #359 of 365.
Happy birthday!
---------
Since this is an interactive program, it behaves differently when given different input.
The examples above do not show all possible cases.
You may assume that all user input is valid; that when prompted for a date, the user will
enter an integer in a valid range. You may also assume that your program is not run in a
leap year, so February always has 28 days.