The highest and minimum possible values
Please what’s the highest possible value produce here? Math.floor(Math.random() *101)
Write your code on the playground.
Look at 🧚Somya🌹 's answer. She explained very well.
DESMOND YEBOAH , what programing language are you talking about?
DESMOND YEBOAH the highest value will 100.
Math.random() It returns the random value from 0 to number-1 but with including Math.floor() you'll get integer value Where number be 1,5,100 any number Examples: Math.random() * 2 // it will return 0 to 1 Math.random() * 101 // it will return 0 to 100
Is it because of this formula Math.floor(Math.random() * (high-low+1))+low ?
What is the best coding language
When you want to make a book in JS, then how do you put text other than the page nmr. on the page?