Thanks for the reminder, Dan! I have changed the code to account for century years...
/** Get the number of days in a month */
static int getNumberOfDaysInMonth(int year, int month) {
if (month...
Type: Posts; User: WhiteSoup12
Thanks for the reminder, Dan! I have changed the code to account for century years...
/** Get the number of days in a month */
static int getNumberOfDaysInMonth(int year, int month) {
if (month...
I can see how it would be pretty confusing. I just finished my Intro to Java course, so I'm still kind of new to Java as well. This particular code is kind of hard to navigate due to the placement...
You only need to modify the getNumberOfDaysInMonth method. Here is what the code should look like...
/** Get the number of days in a month */
static int getNumberOfDaysInMonth(int year, int...