Then, to calculate the average , we need to first calculate the sum of all elements in the array. This is done using a for-each loop in Java. Finally, we ...
確定! 回上一頁