A century year needs the 400 rule. With year = 2400, what does (year % 4 == 0 and year % 100 != 0) or year % 400 == 0 give?
Log in to join the discussion.
Loading…