Question: Write an application that accepts a year and displays a 12-month planning calendar. Each month should be printed separately, one below the next. For example,

Write an application that accepts a year and displays a 12-month planning calendar. Each month should be printed separately, one below the next. For example, the following picture shows the January and February of 2007. Note that using existing Java Calendar class is prohibited. January 2007 Sun Mon Tues Wed Thurs Fri Sat 4 10 1 12 13 19 20 21 22 23 24 25 26 27 14 15 16 18 February 2007 Sun Mon Tues Wed Thurs Fri Sat 10 17 12 13 14 15 19 20 21 22 23 24 26 27 28 25 etc. Hint: 1. Please refer to the program in the following webpage to determine the day of the week for any date (month/day/year). http://help 2. You need to consider how many days February has (28 or 29). Do some research and see how to determine the number of days February has in one specific year
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
