Suppose you have a two-dimensional array of double to hold the sales amounts for all your salespeople three years. Assume you employ 50 salespeople and this array already holds valid data.
- Write the code to declare the array.
- Write the code to count how many of these salespeople had sales over $8000 for the second year.
- Write the code to find the highest sales amount over all three years.
- Write the code to find the total sales amount for the first year.
- Write the function definition, print, that will print the contents of the array. The array will be passed as a parameter.