Hi everyone, I'm enjoying all the great info on this board. Could I ask for some tips on this program I have for school? Its for Matrix Math. The program will read 4X4 matrices from the keyboard and perform operations on them. The operations are: +, -, scalar *, matrix *, and transpose. A 'Q' will quit the program.

It needs to run something like this:

-----------------------------------------------------------------------------

How many initial matrices will begiven? 2

For matrix 1:

Row 1? 2 4 0 1

Row 2? 3 0 1 2

Row 3? 1 0 1 -1

Row 4? 0 1 2 0

For matrix 2:

Row 1? 1 0 0 0

Row 2? 0 1 0 0

Row 3? 0 0 1 0

Row 4? 0 0 0 1

Operation? +

First matrix for +? 1

Second matrix for +? 2

Result is matrix 3:

Row 1: 3 4 0 1

Row 2: 3 1 1 2

Row 3: 1 0 2 -1

Row 4: 0 1 2 1

Operation? *

Scalar value for *? 2

Matrix for *? 3

Result is matrix 4:

Row 1: 6 8 0 2

Row 2: 6 2 2 4

Row 3: 2 0 4 -2

Row 4: 0 2 4 2

Operation? T

Matrix for T? 4

Result is matrix 5:

Row 1: 6 6 2 0

Row 2: 8 2 0 2

Row 3: 0 2 4 4

Row 4: 2 4 -2 2

Operation? X

First matrix for X? 1

Second matrix for X? 3

Result is matrix 6:

Row 1: 18 13 6 11

Row 2: 10 14 6 4

Row 3: 4 3 0 -1

Row 4: 5 1 5 0

Operation? Q

---------------------------------------------------------------------

Any help is appreciated!