Computer Science, asked by rajubagh, 17 days ago

please help me answer this correctly ​

Attachments:

Answers

Answered by coctests999
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 shashidevibcm
0

Answer:

your question is not clear. please check your question

Similar questions