A leap year in the Gregorian calendar system is a year that’s divisible by 4 but not by 100, unless it is also divisible by 400 . For an example, 1896, 1904, and 2000 were leap years but 1900 was not . Write a function that takes it in a year as input and prints whether it’s a leap year (or not).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here