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

6th Apr 2018, 4:41 PM
Evan Martine
2 Answers
+ 4
This creates something like what you want: https://code.sololearn.com/clH8sdfSV5m8
6th Apr 2018, 5:41 PM
John Wells
John Wells - avatar
0
Either rows and columns should be the same length. Btw. Learn about nested loops.
6th Apr 2018, 4:47 PM
Bartosz Pieszko
Bartosz Pieszko - avatar