Average of ints in array x. double sum = 0; long N = 0; if (!list.isEmpty()) { for (Double z : list) { if (z != null && !Double.isNaN(z)) { sum += z; ...
確定! 回上一頁