#include<stdio.h>
#include<conio.h>
main()
{
int n;
clrscr();
printf("\n enter the year n");
scanf("\n %d",&n);
if(n%4!=0)
{
printf("\n year is not leap %d",n);
}
else
{
printf("\n year is leap %d",n);
}
return(0);
}
output:-
n=2020
year is leap