Q4 Any year is entered through the keyboard. Write a function to determine whether the year is a leap year or not.

Program: 125

Any year is entered through the keyboard. Write a function in c language to determine whether the year is a leap year or not.

Output:

Enter a year: 2014
2014 is not a leap year.

Enter a year: 2020
2020 is a leap year.

Lokesh Kumar

Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.