### Code

#### Use an array of arrays

Enter matrix data: 1 3 5 7 9 1 2 3 4

1    3    5
7    9    1
2    3    4
Enter matrix data: 2 4 6 8 0 1 2 3 4

2    4    6
8    0    1
2    3    4
m1 + m2 =
3    7   11
15    9    2
4    6    8
m1 X m2 =
36   19   29
88   31   55
36   20   31
transform matrix:
1    7    2
3    9    3
5    1    4


#### Use an array of pointers to arrays

Enter matrix data: 1 3 5 7 9 1 2 3 4

1   3   5
7   9   1
2   3   4
Enter matrix data: 2 4 6 8 0 1 2 3 4

2   4   6
8   0   1
2   3   4
m1 + m2 =
3   7  11
15   9   2
4   6   8
m1 X m2 =
36  19  29
88  31  55
36  20  31
transform matrix =
1   7   2
3   9   3
5   1   4


#### Use a 1-dimensional array and fixup the indices

Enter Matrix data: 1 3 5 7 9 1 2 3 4

1  3  5
7  9  1
2  3  4
Enter Matrix data: 2 4 6 8 0 1 2 3 4

2  4  6
8  0  1
2  3  4

m1+m2:

3  7 11
15  9  2
4  6  8

m1xm2:

36 19 29
88 31 55
36 20 31

trans m1:

1  7  2
3  9  3
5  1  4