2. Inside the normal for you are counting the values of the i, not the values the elements. Correct way: sum1 += numbers[i];.
確定! 回上一頁