...

/

Exercise 4: Check Leap Year

Exercise 4: Check Leap Year

Write a method that takes a year as input and determines whether it’s a leap year.

Problem statement

Write a leap_year? method that takes a year (a number), and determines if it’s a leap year. ...