Okay so here's my assignment:

Get user input dimensions for 2 Matrices. One of the matrix is filled with Numbers(INT) and the other is filled with Single Letters.(STRING)

After both matrices are filled. Both matrices needs to be transformed into another one. Using these specifics: Compute the output matrix C in which each element Cij is the result of replicating each element Aij exactly Bij times.

Example If I had

Matrix A=

{ B C E

A F G

C G K }

Matrix B=

{1 3 4

2 1 2

1 2 4 }

The matrix C would be transposed into:

Matrix C =

{ B CCC EEEE

AA F GG

C GG KKKK }

Okay. So far I've had no problem creating Matrix A and Matrix B. And I have no problem transposing a third Matrix(C) if A and B are both filled with Integers but now that A is filled with Strings Chars, I can not seem to find the solution.If anyone could send me into the right direction, articles or anything regarding this, it would be greatly appreciated.

Thank you.