C languageC SolutionChapter 3Programming

Q13 Any year is entered through the keyboard, write a program to determine whether the year is leap or not. Use the logical operators && and ||

Program: 81

Any year is entered through the keyboard, write a c program to determine whether the year is leap or not. Use the logical operators && and ||

Output:

 Enter the year: 2014
2014 is not 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.