function randomRange(myMin, myMax) {
// Only change code below this line
function randomeRange(ourMax,ourMin) {
Math.floor ( Math.random() *(ourmax-ourmin+1))+min
// Only change code above this line
}
}
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 9; SM-A105F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Mobile Safari/537.36.
Challenge: Generate Random Whole Numbers within a Range
function randomRange(myMin, myMax) {
// Only change code below this line
function randomeRange(myMax,myMin) {
Math.floor( Math.random() *(max-min+1))+min
// Only change code above this line
}
}
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 9; SM-A105F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Mobile Safari/537.36.
Challenge: Generate Random Whole Numbers within a Range