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:
\(2018\) was not a leap year because \(2018\) is not divisible by \(4\).
\(2016\) was a leap year because \(2016\) is divisible by \(4\), but not \(100\).
\(2100\) will not be a leap year because \(2100\) is divisible by \(4\) and \(100\), but not \(400\).
\(2000\) was a leap year because \(2000\) is divisible by \(4\), \(100\), and \(400\).
How many leap years are there between the years \(2000\) and \(2400\), inclusive?
Themes: Computational Thinking, Number Sense