vendredi 23 octobre 2015

C : How can I create random numbers certain range?

I want to create some specific random, such that from 10 to 20.

rand()%20;

is create from 0 to 19




Aucun commentaire:

Enregistrer un commentaire