I'm looking at homework 1, optional exercise 1 (Zeller's algorithm). The instructions have a contradiction when the month is Jan or Feb. At one point it says to subtract 1 from C, then it says to use the preceding year. They are not the same--it makes a difference when the year ends in 0, as in the year 2000. If you use the preceding year, year = 2000-1 = 1999; C = 99. But if you subtract 1 from C, year = 2000; C = 0-1 = -1. Any idea which is meant?

Hey! We 've verified this expert answer for you, click below to unlock the details :)

I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!

Looking for something else?

Not the answer you are looking for? Search for more explanations.