Program to find that given year is leap year or not

The rules for determining a leap year

Most years that can be divided evenly by 4 are leap years.

Exception: Century years are NOT leap years UNLESS they can be evenly divided by 400.

Examples 1700, 1800, and 1900 were not leap years, but 1600, 2000, and 2400 are leap years.

 

Leave a Reply

Your email address will not be published. Required fields are marked *