Check whether a given year is a Leap Year

Write a function that accepts an year, and check whether it is a Leap Year or Not



Implementation:




Output:

Enter a year: 2000

2000 is a leap year