#include<stdio.h>
#include<conio.h>
void main()
{
int year;
clrscr();
printf("\n enter the value of year");
scanf("\n %d",&year);
if(year%4==0||year%400==0)
{
printf("\n year is leap");
}
getch();
}
#include<conio.h>
void main()
{
int year;
clrscr();
printf("\n enter the value of year");
scanf("\n %d",&year);
if(year%4==0||year%400==0)
{
printf("\n year is leap");
}
getch();
}