Asked by Algorithms
To find the sum of odd numbers between 100 and 200
Answers
Answered by
Steve
sum=0
for n=101 to 199 step 2
sum = sum+n
next n
Or, in APL,
+/100+<i>i</i> 99
for n=101 to 199 step 2
sum = sum+n
next n
Or, in APL,
+/100+<i>i</i> 99
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.