int n;
if(n%4==0)
{
System.out.println(n is leap year) ;
}
else
{
System.out.println(n is not leap year) ;
}
}
Where n= 2078

Posted on by