double average = 0; int c= 0; for (int[] is : scores) { for (int i : is) { average += i; c++; } } average=average/c;
Sign in to make a reply
THONY_安