Question: in C 7) Write a program with a function minMat that finds the minimum element of a square matrix. Use this starter code: Hinclude stdio.h
7) Write a program with a function minMat that finds the minimum element of a square matrix. Use this starter code: Hinclude stdio.h > Hdefine N 5 intA[N][N]={{10,2,3,4,5},{2,10,20,30,40},{3,20,50,60,70},{4,30,60,80,90},{5,40,70,10,95}}; ??? minMat(int mat[ N][N], int rows, int cols)\} //your code here ) int main()\} //call the function! // display the result )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
