commit
9c5d81f96b
|
@ -924,7 +924,7 @@
|
|||
"title": "Generate Random Whole Numbers within a Range",
|
||||
"difficulty":"9.9829",
|
||||
"description":[
|
||||
"We can use a certain mathematical expression to get a random number between between two numbers.",
|
||||
"We can use a certain mathematical expression to get a random number between two numbers.",
|
||||
"<code>Math.floor(Math.random() * (max - min + 1)) + min</code>",
|
||||
"By using this we can control the output of a random number."
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue