EXAM+-+Programming+Section

=2-Dimensional Arrays=

Write a Java program that finds and displays the maximum, minimum, and average values in a two-dimensional array of integers.

- Prompt the user for the size dimensions of the 2D array - Prompt the user for each of the input values (ensure you ask for the correct number of values)
 * Input:**

- Output the following:
 * Output:**

Maximum value: Minimum value: Average value:

- Output the location of the Maximum and Minimum values as well
 * Bonus:**

How many rows in your array? 2 How many columns in your array? 3 Enter the value: (repeat six times) [1, 2, 3] [4, 5, 6]
 * TEST Sample Data**

Maximum value: 6 at 2,3 Minimum value: 1 at 1,1 Average value: 3.5
 * Output:**