Hello there, I am Anu Poudel. and i am also sharing many Programs in this blog so. here is my First Program.
So here is the program to check the leap year.
#include<stdio.h> #include<conio.h> void main() { int n; printf("\nEnter any year : "); scanf("%d",&n); if(n%4==0) printf("\nYear is a leap year"); else printf("\nYear is not a leap year"); getch(); }