Skip to content
C

Leap Year Check

Mediumjava

A year is a leap year if it is divisible by 4 and not by 100, or if it is divisible by 400.

Input: one integer — the year.

Output: one line — Leap or Not leap.

Input (stdin)

Output

Run your code to see output here...