Question: Hi, I need help developing a java program that can do the following: Create program that asks for two users' birthdays and prints information about
Hi, I need help developing a java program that can do the following:
Create program that asks for two users' birthdays and prints information about them.
| The program prompts for the birthday month and day of the two users. |
| For both birthdays, the program prints the absolute day of the year on which that birthday falls, |
| the number of days until the user's next birthday, and the percentage of a year (percentage of 366 days) away. |
| Next the program shows which user's birthday comes sooner in the future. If it is a user's birthday today, |
| or if the two birthdays are the same, different messages are printed. |
| Lastly, the program prints a fun fact about your the author's birthday. |
The program should look like this
Please enter todays date (month day): 1 29
Today is 1/29/2016, day #29 of the year.
Please enter person #1s birthday (month day): 10 17 10/17/2016 falls on day #291 of 366.
Your next birthday is in 262 day(s).
Please enter person #2s birthday (month day): 11 23
11/23/2016 falls on day #328 of 366.
Your next birthday is in 299 day(s).
Person #1s birthday is sooner.
Did ye know? 9/19 be International Talk like a Pirate day. Arr, me mateys, arr!
Thank you very much!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
