The 20th Century commenced on Tuesday, 1st January 1901 and ended on 31st
December, 2000.
A leap year occurs whenever the year is divisible by 4, unless the year is also
divisible by 100, in which case it is only a leap year if it is also divisible by 400.
How many Sundays occurred during the 20th Century?
Your tasks:
5 points: Correctly determine the number of Sundays that occurred during the
20th Century.
3 points: Identify and describe a second algorithm a person could use to
determine the number of Sundays between any two dates
2 points: Identify and describe an algorithm a person could use to determine
the number of Sundays between any two dates.
Hint available: Deduct 2 points if requested.