Re: Support Needed - Populating a 2d matrix with different binary number representations.
Quote:
Originally Posted by
Norm
Which index was out of bounds?
Add a println that prints out the values of the indexes so you can see.
I had a typo in the inner loop, fixed. However,
int n=Math.sqrt(matrix.length)
doesn't compile.
Re: Support Needed - Populating a 2d matrix with different binary number representations.
Do you get an error message?