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

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
Determine which of the four levels of measurement (nominal, ordinal, interval, ratio) is most appropriate for the data below. internet speed levels of "fast comma " "medium comma " and "slow" choose the correct answer below. a. the ordinal level of measurement is most appropriate because the data can be ordered comma but differences left parenthesis obtained by subtraction right parenthesis cannot be found or are meaningless. nothing nothing nothing nothing nothing b. the interval level of measurement is most appropriate because the data can be ordered comma differences left parenthesis obtained by subtraction right parenthesis can be found and are meaningful comma and there is no natural starting point. c. the nominal level of measurement is most appropriate because the data cannot be ordered. nothing d. the ratio level of measurement is most appropriate because the data can be ordered comma differences left parenthesis obtained by subtraction right parenthesis can be found and are meaningful comma and there is a natural starting point.
Answers: 2
question
Computers and Technology, 22.06.2019 11:40
Pthreads programming: create and terminate a thread write a c++ program that creates a thread. the main will display a message “hello world from the main”. the main will create a thread that will display a message “hello world from the thread” and then terminates with a call to pthread_exit()
Answers: 3
question
Computers and Technology, 23.06.2019 16:00
What is the biggest difference between section breaks and regular page breaks? section breaks are more difficult to add than page breaks. section breaks make it easier for you to view the document as an outline. section breaks allow you to have areas of the document with different formatting. section breaks are smaller than regular page breaks.
Answers: 2
question
Computers and Technology, 24.06.2019 17:40
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print “bad input.” and terminate immediately
Answers: 2
You know the right answer?
Please help me with this C language exercise:

It is considered a rectangular matrix, wit...
Questions
question
English, 31.07.2019 04:00
question
Mathematics, 31.07.2019 04:00
question
Mathematics, 31.07.2019 04:00
Questions on the website: 13722361