#include<stdio.h>
#include<conio.h>
void main ( )
{
int y ;
printf("Enter year");
scanf("%d",y");
if(year/4==0);
printf("%d is leap year ",y);
else
printf("%d is not leap year",y);
getch ( );
}
E-notebook
#include<stdio.h>
#include<conio.h>
void main ( )
{
int y ;
printf("Enter year");
scanf("%d",y");
if(year/4==0);
printf("%d is leap year ",y);
else
printf("%d is not leap year",y);
getch ( );
}