subject

Please help me with this C language exercise:

It is considered a rectangular matrix, with m rows and n columns. Determine and display the minimum element of the matrix and its position, given by the row number and column number. Form a string containing all the elements of the matrix that are divisible by the minimum element. Display the obtained string. (If the minimum item is zero, the program stops after determining and displaying it).

Thank you <3

I've made it this far but I don't know what to do from here:

#include
#include

int main()
{int mat[100][100];
int n, m,i, j,minim;
printf("enter how many row and colmn you want:\n \n");
scanf("%d",&n);
scanf("%d",&m);
printf("enter the matrix:");

for(i=0;i for(j=0;j scanf("%d",&mat[i][j]);
}

printf("\n");
}

for(i=0;i for(j=0;j printf("%d \t",mat[i][j]);}

printf("\n");}

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 00:20, orlando19882000
The pyraminx is a rubik's cube-type toy in the shape of a tetrahedron (not a pyramid). the pyraminx shown below has edges 15\,\text{cm}15cm15, space, c, m long and vertical height h=12.2\,\text{cm}h=12.2cmh, equals, 12, point, 2, space, c, m. the triangle drawn with dashed lines is a right triangle. what is the distance rrr? round your answer to the nearest tenth.
Answers: 1
image
Computers and Technology, 22.06.2019 22:50, youngboymark123
Assume the existence of a bankaccount class. define a derived class, savingsaccount that contains two instance variables: the first a double, named interestrate, and the second an integer named interesttype. the value of the interesttype variable can be 1 for simple interest and 2 for compound interest. there is also a constructor that accepts two parameters: a double that is used to initialize the interestrate variable, and a string that you may assume will contain either "simple", or "compound", and which should be used to initialize the interesttype variable appropriately. there should also be a pair of functions getinterestrate and getinteresttype that return the values of the corresponding data members (as double and int respectively).
Answers: 2
image
Computers and Technology, 23.06.2019 12:40, melaniem50
Curriculum exam to process a resident's payment, you must click on onesite payments home page. from the a. reports b. my settings o c. transactions o d. rent tab
Answers: 1
image
Computers and Technology, 23.06.2019 14:30, Vanesssajohn2962
Norder to receive financial aid at his vocational school, mario must fill out the fafsa. the fafsa is a form that must be completed to determine . in order to complete a fafsa, you must submit . the fafsa can students obtain
Answers: 2
You know the right answer?
Please help me with this C language exercise:

It is considered a rectangular matrix, wit...

Questions in other subjects:

Konu
Mathematics, 16.09.2019 17:00
Konu
History, 16.09.2019 17:00
Konu
Mathematics, 16.09.2019 17:00