Write a Java program to generate the calendar for the year 2017 (Jan – Dec). The
ID: 3778979 • Letter: W
Question
Write a Java program to generate the calendar for the year 2017 (Jan – Dec). The program should prompt the user to input the year for the calendar of interest. The progam must check for leap years and make the number of days 29 for the month of February. The output must show the year and your week may start on Sunday and end on Saturday. See sample below:
2017 Calendar
January 2017
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Explanation / Answer
}
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.