Leap Year Checker
MediumAlgorithms
Selection
Arithmetic
Write a program that takes a year as input and outputs "Leap" if it is a leap year, and "Not Leap" otherwise. A year is a leap year if it is divisible by 4 but not by 100, unless it is also divisible by 400.
Example Input
2024
Example Output
Leap
0% (0 passed / 0 attempted)