To find the sum of odd numbers between 100 and 200

1 answer

sum=0
for n=101 to 199 step 2
sum = sum+n
next n

Or, in APL,
+/100+i 99
Similar Questions
  1. Find the sets of numbers to which 7/9 belongs.Select all that apply. A. rational numbers B. natural numbers C. integers D. whole
    1. answers icon 1 answer
  2. I NEED THESE IN ALGEBRAIC EXPRESSION!!The larger of two sums is 12 more than the smaller. Their sum is 84.Find the numbers. The
    1. answers icon 1 answer
  3. 1.(A)(i)Show that 2+4+6+8+..+2n=n(n+1).(ii)Find the sum of the first 200 even numbers. (iii)Find the sum of the first 200 odd
    1. answers icon 1 answer
  4. The sum of two numbers is 9.twice their product gives 40.find the numbers.One number exceeds another by 4.the sum of their
    1. answers icon 2 answers
more similar questions