jeudi 5 mai 2016

Pseudo-code statement for a random number with x percent of bias?

How do I write pseudo-code statement for representing a random number with x percent of bias?

I have to write a pseudocode for the following statement:

if((rand()%X) +Y) /X)




Aucun commentaire:

Enregistrer un commentaire