code: private static void displayMeanEstimates(String message, StatsEstimate minEstimate,
        StatsEstimate maxEstimate) {
      // Find the mean of the min and max values.
      Double meanAverageCpc = calculateMean(minEstimate.getAverageCpc(),
          maxEstimate.getAverageCpc());
      Double meanAveragePosition = calculateMean(minEstimate.getAveragePosition(),
          maxEstimate.getAveragePosition());
      Double meanClicks = calculateMean(minEstimate.getClicksPerDay(),
          maxEstimate.getClicksPerDay());
      Double meanTotalCost = calculateMean(minEstimate.getTotalCost(),
          maxEstimate.getTotalCost());
  
      System.out.println(message);
      System.out.printf("\tEstimated average CPC: %s%n", formatMean(meanAverageCpc));
      System.out.printf("\tEstimated ad position: %s%n", formatMean(meanAveragePosition));
      System.out.printf("\tEstimated daily clicks: %s%n", formatMean(meanClicks));
      System.out.printf("\tEstimated daily cost: %s%n%n", formatMean(meanTotalCost));
    }
docs: Writes the mean estimates for the given min and max estimates to {@code System.out},
  prefixed with {@code message}.