Computer Science, asked by arnavlashkery456, 3 months ago

WAP to write even numbers from 1 to 1000​

Answers

Answered by bhattkashish1234
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