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 939f52f commit 540b62aCopy full SHA for 540b62a
Sprint-1/1-key-exercises/4-random.js
@@ -12,4 +12,4 @@ const num = Math.floor(Math.random() * (maximum - minimum + 1)) + minimum;
12
Math.floor is a method that rounds a number down to the nearest whole number.
13
Math.random is a method returning any number that is greater than or equal to 0 and less than 1.
14
first of all i will try to get a value from 0 to less than 1 from Math.random and multiple it by 100
15
-and apply Math.floor to the result which will give me the integer number and then add the minimum value i.e. 1 */
+and apply Math.floor to the result which will give me the integer number and then add the minimum value i.e. 1 */
0 commit comments