Computer Science, asked by adityashankarpathak, 3 months ago

Write the program to display the sum of even numbers between 100 and
200.

Answers

Answered by kushal4468
2

Answer:

int start = 100;

int end = 200;

for(int i = start; i <=end; i++){

if( i % 2 == 0 ){

System.out.println("even num "+i);

}

}

Explanation:

check this

Similar questions