Computer Science, asked by siddharthasingh15, 3 months ago

Write a program in java to Check whether the number is even positive or not ​

Answers

Answered by asharul11026
0

Answer:

ju wide

Explanation:

Answered by naveenjoshi01974
2
  1. Java Program to Check if a Given Integer is Odd or Even
  2. public class Odd_Even.
  3. int n;
  4. Scanner s = new Scanner(System.
  5. System. out. print("Enter the number you want to check:");
  6. n = s. nextInt();
  7. if(n % 2 == 0)
  8. System. out. println("The given number "+n+" is Even ");
  9. System. out. println("The given number "+n+" is Odd ");

i hope its help you please like and mark me on brainliest

Similar questions