create a code that will read a file for an input which is a matrix,(rows and columns of the integers) and be able to output the transpose of it.

original matrix 3X4 transpose matrix 4X3
1 2 3 4 1 5 9
5 6 7 8 2 6 0
9 0 1 2 3 7 1
4 8 1

You need to show the code you have so far ... and let us know where you are stuck.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.