write an algorithm To calculate sum of all odd numbers between 1 and 100.
Answers
Answered by
5
Answer:
You have 25 hundreds. Their average is 2500/50 = 50. Sum of odd numbers less than 100 = 1 + 3 + 5 + 7 + 9 + .... + 93 + 95 + 97 + 99
Similar questions