i cant help myself...
import java.io.*; public class A { public static void main (String arum[])throws IOException{ BufferedReader tag=new BufferedReader (new InputStreamReader(System.in)); String a; int b; System.out.println(); System.out.println(); System.out.println(); System.out.println("Enter any number: "); a=tag.readLine(); b=a%2; System.out.println(); System.out.println(); if(b==1) { System.out.println("The number you entered is ODD"); } else if(b<0) { System.out.println("The number you entered is NEGATIVE"); } else if(a==0) { System.out.println("The number you entered is ZERO"); } else if(b==0) { System.out.println("The number you entered is EVEN"); } else { System.out.println("You have entered INVALID VALUES"); } } }