Possible Duplicate:
Random permutation of integers using a random number generator
For example I need to make a random number from 1 to 30. But it doesn't produce the same random number. The number produced has to be different one to another.
Is that possible?
Thanks