Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a java application, Date, that reads an 8-digit integer value (indicating

ID: 3672847 • Letter: W

Question

Write a java application, Date, that reads an 8-digit integer value (indicating a date) from the keyboard; the first two digits indicate the month, the second two digits represent the day and the last 4 digits represent the year. After calculating the month, the application will implement a switch statement to output the month.

After displaying the date, the application will implement a nested if else statement to output the appropriate century.

• Prev17th century

• 18th century

• 19th century

• 20th century

• 21th century

• Post 21st century

Output

Enter a 8-digit integer date: 06171993

Entered date is June 17, 1993

20th Century

Output

Enter a 8-digit integer date: 06171993

Entered date is June 17, 1993

20th Century

Explanation / Answer

Please find the required code below :