lundi 27 juillet 2020

How to generate 3 random numbers with a sum between 30-50

So far I figured out how to generate 3 random numbers with a specific sum. But how would it work if I wanted the sum of the numbers to be anywhere from 30-50? So for example the numbers could be 10, 15, 8.




Aucun commentaire:

Enregistrer un commentaire