James' Challenge!

Array is: 10, 15, 3, 7.
Let's check if the sum of any two numbers add up to k, which equals 17.

Let's start with number: 10
10 + 15 ≠ 17. The argument is false!
10 + 3 ≠ 17. The argument is false!
10 + 7 = 17. The argument is true!

Let's try number: 15
15 + 3 ≠ 17. The argument is false!
15 + 7 ≠ 17. The argument is false!

Let's check number: 3
3 + 7 ≠ 17. The argument is false!

No more numbers to add.