0
I need help with this matrix problem
https://code.sololearn.com/c45xpjMnKk5r/?ref=app I get an out of bounds error when compiling. I want the output to be as follows. 1 2 3 4 5 6 7
2 Answers
+ 4
This creates something like what you want:
https://code.sololearn.com/clH8sdfSV5m8
0
Either rows and columns should be the same length.
Btw. Learn about nested loops.