Data Structures, Algorithms, & Applications in C++
Chapter 7, Exercise 13

(a)
The transpose is
7 0 6 8 1
2 1 4 2 4
0 0 2 7 9
9 5 0 3 6


(b)
The product is
134   47   50    87   69
47 26 4 17 34
50 4 56 70 40
87 17 70 126 97
69 34 40 97 134