You are on page 1of 1

class leap { public static void main (string arg[]) { int year = integer.parse int(arg[0]); if (year %4 = =0) { system.out.

println ("year +" is a leap year"); } else system.out.println ("year +" is not a leap year"); } }

You might also like