I just started learning java through w3schools and one of the methods(?) was Math.random() and they had this example:
Math.random()
I am not quite sure why they've done Math.random() * 101. Why did they use 101 instead of 100?
Math.random() * 101
Thank you
Aucun commentaire:
Enregistrer un commentaire