Given an integer year, determine if it is a leap year.
A year is a leap year if:
Return true if the year is a leap year, and false otherwise.
year = 2024trueyear = 1900falseyear = 2000true1 <= year <= 10^6Run your code to see results
Use Cmd+Enter to run