transpose

CF

Matrix Transpose

Given a matrix of R rows and C columns as the input, the program must print the transpose of the input matrix. Input Format:The first line…