write a program to check weather the given number is odd or even
Answers
Answered by
3
Answer:
public class num
{
public static void main(String[] args)
{
int num=10;
if(num%2==0)
System. out. println("The number is even") ;
else
System. out. println("The number is odd") ;
}
}
Similar questions