Randomly pick 10 out of 100?
Author |
Message |
Shamikh
|
Posted: Tue May 13, 2008 1:49 pm Post subject: Randomly pick 10 out of 100? |
|
|
I am doing a quiz game and need to know how to be able to randomly choose 10 question out of 50. I know it has something to do with arrays but i cant figure out how. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
[Gandalf]
![](http://compsci.ca/v3/uploads/user_avatars/189297994e4c716fec7f1.png)
|
Posted: Tue May 13, 2008 2:11 pm Post subject: RE:Randomly pick 10 out of 100? |
|
|
Look here, the question is almost identical to your own:
http://compsci.ca/v3/viewtopic.php?t=18104
If you have any further questions, ask them after you have read through that topic. |
|
|
|
|
![](images/spacer.gif) |
|
|