Written by Chris Piech and Mystery CS106A people.

Handouts:
ConsoleReference

Day6: `MinMaxMean.java`

Write a program that lets the user enter any number of integers and prints out the minimum, maximum, and mean (average) values of that set of numbers. We start you out with a mechanism to ask the user how many numbers they want and prompt them to enter the numbers. These numbers get stored in the array values, which is then passed to the three helper methods. Your job is to implement these methods.

As you go through the array, store the biggest or smallest value you've found so far. Make comparisons against this value to see if you need to update it. For the mean, rather than making comparisons, you can add each number to a running total. Make sure to store the mean as the correct type (in the right box) so you can get the exact value. Finally, we print out the three values we want: the min, max, and mean.

** Bonus: ** It's a good practice to test your code on a variety of inputs to make sure it can work for every case. Test the following sets of numbers to see if your code holds up!

```
{4, 2, 3, 5, 10, 1}
```

{10, -10, 0}

{-5}

{0, 0, 0, 0}

{}