Challenge: Determine Whether a Year is a Leap Year or Not

Write code to determine whether a year is a leap year or not.

Any year can be input through the keyboard. Write a program to determine whether the year is a leap yearA year that contains an extra day in the form of February 29th to keep the calendar year synchronized. or not:

  • Input: Any year can be entered as input.
  • Output: Check and print whether the entered year is a leap year or not.

Get hands-on with 1200+ tech skills courses.