Print Even Number Between 1-100

Print Even Number Between 1-100 


class Evennumber
{
public static void main(String[] args)
{
int no;
for(no=2;no<=100;no=no+2)
{
System.out.println(no);
}
}
}

Share this

Related Posts

Previous
Next Post »

Recent