Home » » Even Number Between 0 to 100

Even Number Between 0 to 100

Written By Basith on Thursday, May 22, 2014 | 12:41 AM

public class even{
public static void main(String args[]){
int i;
for(i=0;i<=100;i++){
if((i%2) !=0)
continue;
System.out.println(i);
}}}

0 comments:

Post a Comment

Followers