CEMC Banner

Problem of the Week
Problem C
A Small Leap

Most people think of a year as \(365\) days, however it is actually slightly more than \(365\) days. To account for this extra time we use leap years, which are years containing one extra day.

The flowchart shown can be used to determine whether or not a given year is a leap year. Using the flowchart, we can conclude the following:

How many leap years are there between the years \(2000\) and \(2400\), inclusive?

An alternative format for the flowchart

Themes: Computational Thinking, Number Sense