0
I need your helpš¢
then I wrote an explanation to the translator ... boys help the task I was given a very strange: create a function for finding the minimum element among the positive (Mx) of elements in the column of the matrix and its indexes. Using this feature, the matrix E (5,7) (Mx) which has the maximum product of the index and the matrix T (7,6) the sum of (Mx), which has the minimum sum of the indices.
2 Answers
+ 2
If I understand it correctly...?
int E(int matrix[!!!sizeofmatrix1!!!][!!!sizeofmatrix2!!!])
{
unsigned int min=0;
--min;
for(int i=0;i<sizeofmatrix1;++i)
for(int j=0;j<sizeofmatrix2;++j)
if(matrix[i][j]>=0 && matrix[i][j]<min)
min = matrix[i][j];
return min;
}
+ 1
If not, then write the task in your own language. The second translation gives more questions than answers...