Question: how do you calculate leap years?
Answer: If the year is evenly divisible by 4, go to step 2. ... 
If the year is evenly divisible by 100, go to step 3. ... 
If the year is evenly divisible by 400, go to step 4. ... 
The year is a leap year (it has 366 days).
The year is not a leap year (it has 365 days).