Please help me with this C language exercise:
It is considered a rectangular matrix, wit...
Computers and Technology, 05.05.2020 09:02 ayoismeisalex
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");}
Answers: 1
Computers and Technology, 22.06.2019 02:00
When jen is planning to upgrade to a monitor with a better resolution, what should she be looking for in the new monitor?
Answers: 1
Computers and Technology, 22.06.2019 06:30
Exchanging which type of data uses the least bandwidth? music photographs video voice bandwidth- the amount of data that can be moved between two points in a set time period
Answers: 1
Computers and Technology, 22.06.2019 19:30
Once the data center routes to the destination server that hosts the website, what's the next step in the internet process? user’s browser renders html code from destination server into web page request goes through router/model and isp request routed to nameserver and datacenter
Answers: 2
Computers and Technology, 23.06.2019 15:00
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a.an advanced knowledge of physics and math b.an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 2
Mathematics, 18.08.2020 04:01
Mathematics, 18.08.2020 04:01
Mathematics, 18.08.2020 04:01
Mathematics, 18.08.2020 04:01
Chemistry, 18.08.2020 04:01
Mathematics, 18.08.2020 04:01
Mathematics, 18.08.2020 04:01
Mathematics, 18.08.2020 04:01
Mathematics, 18.08.2020 04:01
History, 18.08.2020 04:01
English, 18.08.2020 04:01
English, 18.08.2020 04:01
Social Studies, 18.08.2020 04:01