/*WAP to print even and odd number b/w 1 to 100*/
/*Save File as : eh.java*/
import java.lang.*; class evenodd { int i,flag; void calculate() { for(i=1;i<=10;i++) if(i%2==0) { System.out.println("No. is Even " + i); } else if(i%2!=0) System.out.println("No. is ODD " + i); } } class eh { public static void main(String arg[]) { evenodd e1=new evenodd(); e1.calculate(); } }