2.We should initialize the sum variable to 0.i.e. sum = 0;. 3.Loop through all the elements in the array and add them to variable sum. 4 ...
確定! 回上一頁