http://en.wikipedia.org/wiki/Leap_years
if year modulo 400 is 0
then is_leap_year
else if year modulo 100 is 0
then not_leap_year
else if year modulo 4 is 0
then is_leap_year
else
not_leap_year
Thursday, March 3, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment