class Pro8
{
public static void main(String arg[])
{
int a;
a=Integer.parseInt(arg[0]);
if(a%4==0)
{
System.out.print("leap year");
}
else
{
System.out.print("not leap year");
}
}
}
Tuesday, 4 June 2013
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment