Question: C++ PROGRAMMING QUESTION: Create a 5x5 matrix of int values as shown below. Write a program that finds the minimum, maximum, and average value of
C++ PROGRAMMING QUESTION:
Create a 5x5 matrix of int values as shown below. Write a program that finds the minimum, maximum, and average value of all values in the matrix. Create a function for each value that is computed (max, min, avg). Print out the results (limit the average to two decimal points!). Matrix: [ 7, 2, 10, 3, 6], [ 1, 12, 2, 0, 20], [ 3,14,19, 5, 4], [ 6, 0, 17, 18, 8], [ 1, 13, 10, 9, 11]; Example: Min: 0, Max: 20, Avg: 8.04
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
