Program to find odd or even in Java
import java.util.Scanner; class OddOrEven { public static void main(String args[]) { int x; System.out.println(“Enter an integer to check if it is odd or even “); Scanner in = new Scanner(System.in); … Read More
import java.util.Scanner; class OddOrEven { public static void main(String args[]) { int x; System.out.println(“Enter an integer to check if it is odd or even “); Scanner in = new Scanner(System.in); … Read More