Write a program to find the number of and sum of all integers greater than hundred and less than 200
Answers
Answered by
0
Answer:
int s=0
for(int i=1010;i<200;i++)
{
s+=i;
}
System.out.println(s);
Similar questions