Computer Science, asked by shalunarula61, 2 months ago

class year
{
public static void main()
{
int a=2000;
if( a%4 == 0 && a%100 != 0);
{
System.out.println("It is a leap year");
}
else if(a%400 == 0);
{
System.out.println("It is a century leap year ");
}
else;
{
System.out.println(" It is a century year but not a leap year");
}
}
}
what I have done wrong in this it is showing 2 errors​

Answers

Answered by bhakarepranjali
0

Answer:

here this your answer

Explanation:

make a brilliant

Attachments:
Similar questions