C languageC SolutionChapter 3Programming

Q3 Any year is input through the keyboard. Write a program to determine whether the year is a leap year or not.

Program: 71

Any year is input through the keyboard. Write a c program to determine whether the year is a leap year or not.

Output:

 Enter the 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.

2 thoughts on “Q3 Any year is input through the keyboard. Write a program to determine whether the year is a leap year or not.

  • Mayank Pratap Singh

    This ques logic is wrong please check and use right logic

    Reply
  • Muhammad Junaid

    can you solve this in C#

    Reply

Leave a Reply

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