title: Best way to solve sum of an array with .each
body: <p>Below is some code I submitted for a array sum algorithm.  In this case I had to use .each but I feel like there is a better way to do this...</p>
  
  <pre><code>numbers = [5, 17, 2, 899, 101, 4, 66, 123, 98]
  sum = 0
  index = 0
  numbers.each do |number|
    sum = sum + numbers[index]
    index += 1
  end
  puts sum
  </code></pre>