c program to check leap year
c program to check leap year: c code to check leap year, year will be entered by the user. Please read the leap year article before reading the code, it will help you to understand the program.
C programming code
Compiler used:
GCC
Output of program:
Enter a year to check if it is a leap year
2012
2012 is a leap year.
Process returned 0 (0x0) execution time : 1,727s
Press ENTER to continue.
No comments:
Post a Comment