**Given number is even or odd Number in java program**:

The number which is divided by 2 it is a even number , other wise odd number.

import java.util.Scanner;

public class even Or odd {

public static void main(String args[]){

int n;

System.out.println(“enter the n value:”);

Scanner k=new Scanner(System.in);

n=k.nextInt();

if(n%2==0)

System.out.println(“The number is even number: “);

else

System.out.println(“the number is odd number: “);

}

}

output: enter the n value: 88 The number is even number: 88

**Related Programs Below:**

Write a program the given number is even or odd in java?

Write a program for the given number is Fibonacci or not in java?

Prime numbers in Java?

Palindrome number Program in java?

Armstrong Number or not in Java?

Write a program for the given number is strong Number or Not in java?

Write a program swapping two numbers without using third variable in java ?

Swapping of two numbers using third variable in java?