Question: I need to know how to ask the user date of the date of today and compare to the birthdays the user input in java

I need to know how to ask the user date of the date of today and compare to the birthdays the user input in java please. Also know how far the user birthday is in the year please! I need to know how to ask the user date of the

Task: This assignment will give you practice with if/else statements, loops, interactive programs with Scanner, cumulative sum algorithms, parameters, and return statements. Turn in a Java file named Birthdays.java. This program involves date comparisons in 2020, which is a "leap year." Leap years have an extra 366th day, which occurs as February 29th. The 366 days are divided among the 12 months as follows: Examples: The following is a single run of your program and their expected output (user input is bold and underlined): This program compares two birthdays and displays which one is sooner. What is today's month and day? 129 Today is 1/29/2020, day \#29 of the year. Person 1: What month and day were you born? 1017 10/17/2020 falls on day \#291 of 366 . Your next birthday is in 262 day(s). That is 71.6 percent of a year away. Person 2: What month and day were you born? 1123 11/23/2020 falls on day \#328 of 366 . Your next birthday is in 299 day(s). That is 81.7 percent of a year away. Person 1 's birthday is sooner. your birthday fact here Would you like to compare two more birthdays? Type 1 and then to compare two more birthdays Type 2 to end the program 1 This program compares two birthdays and displays which one is sooner. What is today's month and day? 214 Today is 2/14/2020, day \#45 of the year. Person 1: What month and day were you born? 110 1/10/2020 falls on day #10 of 366 . Your next birthday is in 331 day(s). That is 90.4 percent of a year away. Person 2: What month and day were you born? 228 2/28/2020 falls on day \#59 of 366 . Your next birthday is in 14 day(s). That is 3.8 percent of a year away

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!