You are on page 1of 1

import java.util.

Scanner;
public class Mj
{
public static void main(String args[])
{
Scanner sc = new Scanner(System.in);
System.out.println("enter no);
int n= sc.nextInt();
if(n%2==0)
{
System.out.println("even no");
}
else
{
System.out.println("odd no);
}
}}

You might also like