Computers and Technology, 22.03.2021 19:40 neariah24
Create a new class called DaysAwayYourLastName.
Prompt the user for the month of their birthday and the date of their birthday. Plan for user input: are you expecting "March" or "mar" or "3" or what? Do you want 3/22 or March 22 or what? Be descriptive in your prompt and figure out how to handle it.
Create a LocalDate object to hold their birthday for the current year.
Pass the birthday to a method you create to calculate the days until their next birthday. Your parameter for your method should be LocalDate and your return type should be int that represents the days until their next birthday.
Inside the method, determine the days until their next birthday based on the date you passed in.
Using LocalDate & Period classes, determine the days until their next birthday.
If their birthday has already passed in the current year, determine how many days until their birthday next year.
When finished, upload your DaysAwayYourLastName. java file to this assignment for 10 points.
Answers: 3
Computers and Technology, 22.06.2019 15:00
The three logical operators used to write compound conditions are "and," "or," and "not." a: true b: false
Answers: 2
Computers and Technology, 23.06.2019 16:30
Which of the following is not an enhancement to the standard wiki to make it more attractive for corporations? encryptionwork spacespermission toolspredictive text
Answers: 2
Computers and Technology, 23.06.2019 17:30
Per the municipal solid waste report, what are the most common sources of waste (trash
Answers: 3
Create a new class called DaysAwayYourLastName.
Prompt the user for the month of their birthday and...
English, 20.09.2021 07:20
English, 20.09.2021 07:20
Mathematics, 20.09.2021 07:20
History, 20.09.2021 07:20
English, 20.09.2021 07:20
Mathematics, 20.09.2021 07:20