The simplest and most common way to add elements to an array is to use a loop. We iterate over each element in the array and add them to the sum variable.
確定! 回上一頁