In this exercise I'm supposed to print a calender for the month and year that a user requests. They input the year, the month and the day that Jan. 1 falls on during that year.
I have the program setup so that it will print the days of the month, but I don't understand how knowing the day Jan. 1 falls on is supposed to help me figure out what the first day of each successive month is supposed to be.
Note: We've been told we can use something called "Zeller's Congruence" (which we havent been given any info on), but I'm not using that at this point. I'd like to get it working without this thing first just so I understand what is going on.
I have the program setup so that it will print the days of the month, but I don't understand how knowing the day Jan. 1 falls on is supposed to help me figure out what the first day of each successive month is supposed to be.
Note: We've been told we can use something called "Zeller's Congruence" (which we havent been given any info on), but I'm not using that at this point. I'd like to get it working without this thing first just so I understand what is going on.