solved

Apr 4, 2018 at 9:07pm
1234
Last edited on Apr 5, 2018 at 3:23pm
Apr 4, 2018 at 9:20pm
Just change the signature to the same one you have for displayMatrix (which just takes one matrix). Delete half the code. And call it twice, once for each matrix.

You don't have to pass r2 to multiply since it's the same as c1. In fact, you probably should either check that the user entered the same number for both or don't let the user pick that dimension for the second array; it's already been set by the first array.
Last edited on Apr 4, 2018 at 9:20pm
Apr 5, 2018 at 2:21am
Thanks for responding @tpb, but I'm having some trouble trying to achieve what you are saying would you mind showing some sample code or something?
Thanks!
Last edited on Apr 5, 2018 at 2:21am
Apr 5, 2018 at 9:55am
How about you showing your latest attempt and describing in detail the "trouble" you have in it?
Topic archived. No new replies allowed.