posted 8 years ago
Ok, so my teacher gave us a calendar assignment, where we have to display each month of a year dependent on what year it is. The first day of the year is calculated (0-6 meaning Sunday-Saturday), and the user inputs the year. He has stored how many days are in each month in an array called daysPerMonth. I am so confused on how to go about this because he wants us to access the array and display that many days and display each next month. Doing this, while also accounting for the first day of the year. Can anyone help? The teacher has provided much of the code and has gives us 2 functions to fill in. Please help? I am so confused help please? Where it asks for me to implement code that is my attempt at writing some code