Computer Science, asked by Anonymous, 11 months ago

Write a program segment that uses a while loop to add up all the even numbers between 100 and 200, inclusive.

Answers

Answered by Ananyamisra00
4

i=100;

while(i<=200)

{

i+=2;

sum=sum+i;

System.out.println(sum);

}

Answered by jenifermaryigantony
0

Answer:

5

6

78

9

7

5

7

6

3

98

32

45

65

65

Similar questions