title: Why do I get false in both cases?
body: <p>I am trying to check if any two integers in array in sum equal to n. However, I get false for the first case, though I think I should get true. </p>
  
  <pre><code>def sum_to_n?(array, n)
    for i in array
      s = n - i
      return true if array.include? s
      return false if i != n - i
    end
  end
  
  puts sum_to_n?([1,2,3,4,5], 9)
  puts sum_to_n?([1,2,3,4,5], 12)
  </code></pre>