I want to generate 9 random numbers, but I do not want to generate the same number twice. Is there an easy way to do this?
I want to create numbers between 0 and 10, to get the numbers 1,2,3,4,5,6,7,8,9. I am going to put these numbers in an array, and the code will not work if I get the same number twice, and they all have to be random, different numbers each time you start the program.