Some years in our (Gregorian) calendar are leap years. February has a 29th day and the year overall has 366. Many people think that leap years come every fourth year, and some know that this is because it takes the earth takes 365.25 days to revolve around the sun.

But, things are a bit more complicated than that: leap years come slightly less often than once every four years. To figure out if a year (say, 1999) is a leap year, you need to test whether it is divisible evenly — that is, if there is no remainder after the division — by three different values.

A calendar year is a leap year if

We aren't making this up.

Thus 2000 was a leap year (divisible evenly by 400, 100, and 4), 1900 was not (divisible evenly by 100 and 4 but not by 400), 1996 was (divisible evenly by 4 but neither 100 nor 400), and 1999 wasn't (not divisible by anything!) .

Consider the block sets below: they all say "leap year" if the year variable is a leap year and "normal year" otherwise. That is, they all work correctly, without any bugs. (The scripts are available in this Snap! program).

(A)  


(B)  


(C)  


Form a small group and discuss which version you prefer, and defend your answer.

Which one is easiest to read?
Which one would be easiest to rewrite from memory?
In which one would it be the easiest to find a bug?
Which one is the most beautiful?!