I made a program in BlueJ to display the even numbers from 1 to 100. But the Output is even numbers from 8 to 100. So i request you to please help me to rectify my error. For this i would be thankful to you.
public class EvenNumbers1to100
{
public static void main(String args[])
{
int a;
for(a=2;a<=100;a+=2)
System.out.println(a);
}
}