This function tells whether a year is a leap year or not.
LeapYear(year)
A numeric value indicating the year in the Gregorian calendar.
Boolean telling whether the year is a leap year or not.
# NOT RUN {
print(LeapYear(1990))
print(LeapYear(1991))
print(LeapYear(1992))
print(LeapYear(1993))
# }
Run the code above in your browser using DataLab