Leap year counting in C programming

0
22
programming solution

 Question: 

Write a program that prompts the user to enter a year value and display it’s leap year or not in the result like output sample.

 Output Sample:   

InputOutput
3
2020
2050
1600
Leap Year!
Not Leap Year!
Leap Year!

 Source Code: 

 List of C Exercises: 

LEAVE A REPLY

Please enter your comment!
Please enter your name here