vendredi 6 mars 2015

Increaing Randomly Generated Numbers

I want to generate random integers such that the next generated number is always greater than the previous one.


Assume I start with 3, I want the next to be always greater than 3. And say I generated 5, I want the next to be greater than 5 and so on..





Aucun commentaire:

Enregistrer un commentaire