Question: Ask the user to input 2 matrices (A and B) Determine if matrices are conformable by multiplying A*B and output the product of the two
Ask the user to input 2 matrices (A and B)
Determine if matrices are conformable by multiplying A*B and output the product of the two matrices.
If A*B are NOT conformable, see if B*A are conformable by multiplying them, and output the product of the two matrices. If not, repeat steps 3a to 3c
Run it several times to check out all the cases.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
