vendredi 24 février 2017

Unique randomly select numbers in a array

If I have 10 numbers in an array a=[1 2 3 4 5 6 7 8 9 10] How can I randomly 5 seats of randomly select two numbers and the numbers should be unique in all 5 sets?




Aucun commentaire:

Enregistrer un commentaire