//
program to check whether the given year is leap year or
not
#include<stdio.h>
#include<conio.h>
void
main()
{
int a,b;
clrscr();
printf("enter year:");
scanf("%d",&a);
b=a%4;
if (b==0)
{
printf("given year
is leap year.");
}
else
{
printf("sorry
given year is not leap year. :(");
}
getch();
}