Question: Question 3 (write in c++ only) Develop a program to find the transpose of a 1-D matrix. You are required to use the following functions
Question 3 (write in c++ only)
Develop a program to find the transpose of a 1-D matrix. You are required to use the following functions in your program:
- getMatrixElements ( ) to take matrix elements input from the user.
- displayMatrix ( ) to display the input matrix.
- transposeMatrix ( ) to transpose the matrix
Example:
M = 1 2 3 4 => M T = 1 2 3 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
