I have an assignment to make 2 arrays(start and sites) and i need to fill each cell with a different number by using rand function and building my own functions.
My problem is that i cant figure how to make sure the rand function doesn't give the same number to 2 different cells and if it does how can i change it without getting to a number thats already in other cell
Aucun commentaire:
Enregistrer un commentaire