wap to check a number is even or not dynamically
Answers
Answered by
0
Answer:
this is very easy.
class number
{
public static void main(String args[])
{
n=5;
if(n%2==0)
{
System. out. println("Number is even. ");
}
else
{
System. out. println(" Number is odd. ");
}
}
}
Similar questions