Computer Science, asked by GoranSharma, 2 months ago

WAP to display all the even numbers up to n​

Answers

Answered by MalayaDhal
1

Explanation:

for (int a=2;a<=n;a+=2)

System.out.println (a);

Similar questions