407 views
2 votes
Write an application that prompts a user for a month, day, and year. Display a message that specifies whether the entered date is (1) not this year, (2) in an earlier month this year, (3) in a later month this year, or (4) this month. Save the file as PastPresentFuture.jav

1 Answer

7 votes

Answer:

Following is given the code with all necessary description given as comments in it. I hope it will help you!

Step-by-step explanation:

Write an application that prompts a user for a month, day, and year. Display a message-example-1
Write an application that prompts a user for a month, day, and year. Display a message-example-2
User J Maurer
by
5.6k points