Question: What is the program solution in C++'s Visual Studio Code system that will help me get the results required in this assignment? *Note the commands
What is the program solution in C++'s "Visual Studio Code" system that will help me get the results required in this assignment?
*Note the commands have to be ./transpose matrix.txt and ./transpose weird.txt
The cannot be matrix.txt and wierd.txt by themselves.

Transpose The transpose of a matrix flips it about its primary diagonal as seen in the image to the right. Notice the dimensions of the matrix are also reversed. That is, the original matrix was 3 rows x 2 columns, while the Transpexi malrix in 2 row X 3 columns Write a program to read an integer matrix from standard input and print its transpose to standard out. Suppose natrix.txt contains the following: 57 SO (AT)"= A 1 2 3 the matrix, including its new size, as shown below. Running your program should print the transpose 3./transpose watrix.txt 17 You do not need to worry about formatting the matrix Into columns, just print one space between each number in the new row. For example, the following output is formatted correctly. /rew wirdLAL 2000 -12MSGT The largest melrix you must le support is 20 x 20. Tl is okay lu have a largest array that you need as long as you kracow how much of it you are using. You could use either + 2-dimensional array or a 1-dimensional try with surre: "Anty" indexing. It might be easiest to start by just reading the matrix and writing it back out 'as is". For bonus points, do not print a space after the last number in each row
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
