I need to generate random numbers from 3 to 10 in a matrix of 8x8 without repeating them and since the matrix is something big the other numbers should be placed in 0
an example
{0,0,0,0,0,6,0,0}
{0,0,3,0,0,0,0,0}
{0,0,0,0,0,0,0,9}
{0,0,0,4...
asked by
03.12.2018 / 16:02