WAP to write even numbers from 1 to 1000
Answers
Answered by
1
Answer:
public class even
{
public static void main ()
{
for(int i = 2;I<=1000;i=I+2)
{
System.out.println(i);
}
}
}
Explanation:
please mark as brainlist
Similar questions