Originally posted by John Peters:

If the year is divisible by 400, than it's true and program should exit.

If the year is not divisible by 100 but IS (and) divisible by 4, than it's true and should exit.

Otherwise it's false and the program should exit.

I think I would change it just a little bit ...

If the year is divisible by 400, than it's true -- final answer

If the year is divisible by 4 but (and) is not divisible by 100, than it's true -- final answer

Otherwise it's false -- final answer