develop an algorithm to find the sum of odd numbers between 100 and 200
Answers
Answered by
4
Answer:
maybe something like this:
n = 101
sum = 101
1 if n = 199 quit
n = n+2
sum = sum + n
go back to 1
Answered by
2
Answer:
he sum of all odd number between 100 and 200 is 7500 ""common difference d=second term - first term ""= 103-101=2.
Similar questions