stack247.wordpress.com
Leap Year Is Not Every 4 Years
When I was first asked to write function for checking leap year, I instantly answered by writing a function to take the year and divided by four. Wrong. To begin with, the leap year is not every fo…