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 16:30, sayedaly2096
What type of file does a cookie place on web site visitors' computers so that web site managers can customize their sites to their visitors' preferences?
Answers: 1
Computers and Technology, 22.06.2019 19:20, SundaeSunday
Consider the following code snippet: #ifndef cashregister_h#define cashregister_hconst double max_balance = 6000000.0; class cashregister{public: cashregister(); cashregister(double new_balance); void set_balance(double new_balance); double get_balance() const; private: double balance[12]; }; double get_monthly_balance(cashregister bk, int month); #endifwhich of the following is correct? a)the header file is correct as given. b)the definition of max_balance should be removed since header files should not contain constants. c)the definition of cashregister should be removed since header files should not contain class definitions. d)the body of the get_monthly_balance function should be added to the header file.
Answers: 1
Please help me with this C language exercise:
It is considered a rectangular matrix, wit...
It is considered a rectangular matrix, wit...
English, 19.07.2019 10:50
Mathematics, 19.07.2019 10:50
Mathematics, 19.07.2019 10:50
Biology, 19.07.2019 10:50
Mathematics, 19.07.2019 10:50