vendredi 28 avril 2017

Random number with range [duplicate]

This question already has an answer here:

Which one is correct for the range 2 - 5 and why?

1.) Math.random()*2) + 3

2.) Math.random()*3) + 3

Can anybody explain this to me?




Aucun commentaire:

Enregistrer un commentaire