Leap year
Hard๐ท๏ธ Conditions๐ Decision Making
๐งฉ The problem
TAKE a YEAR. A year is a leap year if it is divisible by 4, except years divisible by 100 โ unless they are also divisible by 400. DISPLAY “Leap” or “Not leap”.
Examples
Input: 2024 โ LeapInput: 1900 โ Not leapInput: 2000 โ Leap
โ๏ธ Write your pseudocode
Press Run to watch it step by step, and Run tests to check it against every test case.