Filling A Table With Unique Random Number

  • I'm trying to fill a 9X9 tabel, where every row consists of 9 unique numbers between 1 and 9 (like a sudoku tabel). I have completed a code to fill 1 row with 9 unique numbers and it looks like this:

    but how will I be able to fill the rest of the rows (the hole 9x9 table) so that every row has unique numbers and ervery column has unique numbers between 1 and 9?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!