Java Program to Check Whether a Number is Even or Odd
Write a program to check whether a number is even or odd. Using If...Else statement import java.util.Scanner; public class CheckEvenOdd { public static void main(String[] args) { Scanner reader =…