If I do rand()/RAND_MAX, will it give me a random probability value?
rand()/RAND_MAX
If I do so, is it going to be that 50% (on average) of the values will be more than 0.5?
Aucun commentaire:
Enregistrer un commentaire