File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ const num = Math.floor(Math.random() * (maximum - minimum + 1)) + minimum;
1212// the num assigned to a value that's in the dor of an expression
1313// the math object is invoked to perform some mathematical tasks
1414// the random method is invoked to get a random number between 0 and 1
15- // the random number is multiplied by 100
15+ // the random number is multiplied by 100
1616// the floor method is invoked to round down the result to its nearest integer
1717// added one to the new result
1818// the final result of the whole expression is what the variable num assigned to
1919/* after applying the program several times, I got the idea that the program is generating
20- a value to the num variable thats always between minimum an maximum*/
20+ a value to the num variable thats always between minimum an maximum*/
You can’t perform that action at this time.
0 commit comments