Hi. I read the faq on random number generation, but I would like to be able to generate one of three different numbers (only) in a random sequence.
In other words, I have three "levels": 15, 25, 35. I want to be able to randomly generate one of these three values (not a value in between these numbers; I just want strictly 15, 25, or 35 to be generated in a random fashion).
Is it possible to do this with srand and rand?
Thank you.