Write a C program to compute Matrix Multiplication of two matrices. Use one dimensional array to store each matrix, where each row is stored after another. Hence, the size of the array will be a product of number of rows times number of columns of that matrix. Get number of row and column from user and use variable length array to initialize the size of the two matrices as well as the resultant matrix. Check whether the two matrices can be multiplied or not. Write a getMatrix() function to generate the array elements randomly. Write a printMatrix() function to print the 1D array elements in 2D Matrix format. Also, write another function product(), which multiplies the two matrices and stores in the resultant matrix. With SEED 5, the following output is generated.
Sample Output
Enter the rows and columns of Matrix A with space in between: 3 5
Enter the rows and columns of Matrix B with space in between: 5 4
Matrix A:
8 6 4 1 6
2 9 7 7 5
1 3 1 1 2
Matrix B:
9 5 4 5
9 9 8 1
4 4 3 5
2 6 2 1
4 5 2 4
Product AxB:
168 146 106 91
161 186 125 81
50 52 37 22
In conclusion, the answer is 5x1
Please give Brainliest answer thanks! :)
9.5 feet,to find that you must find out how many times longer the shadow of the pole is than the pole, and to do that you must divide 95 by 50, in which you get 1.9. And then to find the length of the shadow the man casts you must multiply his height by 1.9.
C. 7.2°F is warmer than 7.0°F but colder than 7.6°F.
To calculate simple interest, you first need to multiply the original amount by the percentage of the money which is going to be added.
In this situation, 500 x 0.05 is the interest which will be added each year.
Therefore, $25 will be added each year. Since it is over 4 years, it is (25*4).
So the account will have earned $100 of simple interest.
Although the account will contain $600, it will have EARNED $100 of interest since it started with $500 already.
Answer - A $100 of simple interest will be earned.
Peggy has 12 practice sessions
The first step is finding the unit rate. We can do this by evaluating
21/1.75 divided by 1.75/1.75.
When you divide the two, you get 12.
To check your work you do 12(1.75) and you will get 21