I tried using the rand() function with min = 4 and max = 10:
s = rand() % 10 + 4;
and some of the results were above 10.How is this possible?
Aucun commentaire:
Enregistrer un commentaire