To find the transpose of a matrix.
1. Read matrix size. 2. Read matrix elements. 3. Display transpose.