Answers

2014-07-09T22:31:44+05:30
Class number
{
public static void main(String args[])
{
int p;
System.out.println("please enter the number");
p=Integer.parseInt(args[0]);
if(p/2==0)
System.out.println("The number is even");
else
System.out.println("The number is odd");
}
}
hope i helped u:)
0
2014-07-10T16:06:40+05:30

This Is a Certified Answer

×
Certified answers contain reliable, trustworthy information vouched for by a hand-picked team of experts. Brainly has millions of high quality answers, all of them carefully moderated by our most trusted community members, but certified answers are the finest of the finest.
Here is your code

class number
{
public static void main(String args[])
{
int p;
System.out.println("enter the number");
p=Integer.parseInt(args[0]);
if(p/2=0)
System.out.println("the number is even");
else
System.out.println("the number is odd");
}
}
0