List ofrandom numbers with no duplicates

D

Dom

How can I generate a list of random numbers between x and
y without having duplicates in a series of lets say 5
numbers.

For example, lets say I want to generate 5 numbers
between 1 and 15 and not have any of those 5 duplicated.
I've succeeded in getting my list, but I get duplicates
in hte list occassionally.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top