This is a follow on from a previously posted question:
How to generate a random number in C?
I wish to be able to generate a random number from within a particular range, such as 1 to 6 to mimic the sides of a dice.
How would I go about doing this?
Aucun commentaire:
Enregistrer un commentaire