Problem Description

Check if given year is leap year or not.
Real Life: Like February having 29 days in some years.
Step-by-Step Logic:
1. Take year as input
2. Leap year if divisible by 4
3. But NOT leap if divisible by 100
4. BUT leap if divisible by 400
5. Print result

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next