Question: JAVA LANGUAGE 3. Write a program that prompts the user to enter a date (in the form of three numbers: year month day), and display:s
JAVA LANGUAGE 
3. Write a program that prompts the user to enter a date (in the form of three numbers: year month day), and display:s (a) (20pt) The date of Thanksgiving (i.e. the fourth Thursday of November) of that year You must calculate the date based on the fact that 1/1/1970 is Thursday - you will not receive any credit if you hard-code Thanksgiving dates in your progranm (b) (20pt) The number of days between the date entered and Thanksgiving of that year You may assume that the date entered by the user is after 1/1/1970 and before Thanksgiving of that year. Here are some sample runs Please enter a date: 2018 11 20 Thanksgiving 2018 is November 22, 2018 There are 2 day (s) between 11/20/2018 and Thanksgiving 2018 Please enter a date: 1980 1 5 Thanksgiving 1980 is November 27, 1980 There are 327 day(S) between 1/5/1980 and Thanksgiving 1980 You can use the date calculators to verify your results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
