16
Possible Duplicate:
pick N items at random
I need to generate 6 random numbers between 1 and 49, but they cannot be the same. I know how to do make them random, I just am not sure how to ensure that they are different.
The worksheet recommends displaying each number and setting it to zero, but I don't see how that would help.
Any advice is greatly appreciated.