diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/generate-random-whole-numbers-within-a-range.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/generate-random-whole-numbers-within-a-range.english.md index 67ebaa3a17..19d31e2cd2 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/generate-random-whole-numbers-within-a-range.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/generate-random-whole-numbers-within-a-range.english.md @@ -9,7 +9,7 @@ forumTopicId: 18187 ## Description
-Instead of generating a random number between zero and a given number like we did before, we can generate a random number that falls within a range of two specific numbers. +Instead of generating a random whole number between zero and a given number like we did before, we can generate a random whole number that falls within a range of two specific numbers. To do this, we'll define a minimum number min and a maximum number max. Here's the formula we'll use. Take a moment to read it and try to understand what this code is doing: Math.floor(Math.random() * (max - min + 1)) + min @@ -17,7 +17,7 @@ Here's the formula we'll use. Take a moment to read it and try to understand wha ## Instructions
-Create a function called randomRange that takes a range myMin and myMax and returns a random number that's greater than or equal to myMin, and is less than or equal to myMax, inclusive. +Create a function called randomRange that takes a range myMin and myMax and returns a random whole number that's greater than or equal to myMin, and is less than or equal to myMax, inclusive.
## Tests