How to generate a random Integer between two values in Eiffel?
I want to simulate dice roll functionality. However, I don't get what I expect. I want to get a Dice with value ranging from 1 to 6 inclusively (dice).
I tried to find it in Eiffel Documentation, but it is very hard to do.
Aucun commentaire:
Enregistrer un commentaire