Question: Write a C++ program that asks the number of rows and columns of a matrix from user. Then it declares two 2D integer arrays of
Write a C++ program that asks the number of rows and columns of a matrix from user. Then it declares two 2D integer arrays of that matrix size. It takes values of the matrix in one 2D array from user while the other has no values. Find the transpose of first array. (you will have to save it in the other array that you declared.) Then display both original matrix and its transpose on screen.
Step by Step Solution
3.50 Rating (150 Votes )
There are 3 Steps involved in it
Solution Code and output include using namespac... View full answer
Get step-by-step solutions from verified subject matter experts
