We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f40f6e commit 4bd0d32Copy full SHA for 4bd0d32
Sprint-1/1-key-exercises/4-random.js
@@ -9,8 +9,7 @@ const num = Math.floor(Math.random() * (maximum - minimum + 1)) + minimum;
9
// Try logging the value of num and running the program several times to build an idea of what the program is doing
10
11
// math.floor will make the number as a whole and remove any decimals or more likely to round the the nearest whole number
12
-// math.random will generate a random number between (0,1) inclusivly
+// math.random returns a random number in [0,1)
13
// (maximum - minimum + 1) provide a range of generated random number
14
-// num is a random whole number (1,100) inclusivly
15
-
+// num is a random whole number [1,100)
16
console.log(num);
0 commit comments