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! :)
Answer:
y=3/4x-7
Step-by-step explanation:
(0,-7) is the y-intercept
3/4 is the slope
y=mx+b
m is the slope
b is the y-intercept
plug it in:
y=3/4x-7
please mark brainliest!
Answer:
7 cars
Step-by-step explanation:
The computation of the number of cars to be filled is shown below:
A car that is 90% full and the total people is 20 so 90% would be
= (.90)(20)
= 18
A car that is 65% full and the total people is 20 so 65% would be
= (.65)(20)
= 13
Now
Total number of people = (5)(18) + (3)(13).
= 129
Now the number of cars to be filled is
= 129 ÷ 20
= 6.45
= 7 cars
Answer:
the answer is the first one
Step-by-step explanation:
because when you look at the order <MNK is on the other side to the line that bisects the two parallel lines of <LKN
I can't see pictures, but to find the area of a triangle, you multiply the dimensions, as you would a rectangle, but divide the area by 2.
For example, the dimensions of a triangle are 4 and 6.
Multiply the two.
4x6=24.
But don't stop there. Divide 24 by 2.
24/2=12.
So the area of the example triangle is 12.
---
hope it helps