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 dce53b5 commit cecb6baCopy full SHA for cecb6ba
1 file changed
Sprint-1/1-key-exercises/4-random.js
@@ -1,7 +1,10 @@
1
const minimum = 1;
2
const maximum = 100;
3
4
-const num = Math.floor(Math.random() * (maximum - minimum + 1)) + minimum;
+for (let i = 0; i < 5; i++) {
5
+ const num = Math.floor(Math.random() * (maximum - minimum + 1)) + minimum;
6
+ console.log(num);
7
+}
8
9
// In this exercise, you will need to work out what num represents?
10
// Try breaking down the expression and using documentation to explain what it means
0 commit comments