please help me answer this correctly
Attachments:
Answers
Answered by
1
Answer:
import java.util.Scanner;
class EvenOdd
{
public static void main(String args[])
{
int num;
System.out.println("Enter an Integer number:");
Scanner input = new Scanner(System.in);
num = input.nextInt();
if ( num % 2 == 0 )
System.out.println("Entered number is even");
else
System.out.println("Entered number is odd");
}
}
Answered by
0
Answer:
your question is not clear. please check your question
Similar questions