 sum = 0;         for (int i = 0; i < n; i++) {             int holdNumber = array[i];             sum += holdNumber;         }          int average = sum / n;         return average;      }      public static double average(double[] array, int n)