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 fc4edcc commit 72bce3dCopy full SHA for 72bce3d
Sprint-1/1-key-exercises/4-random.js
@@ -2,8 +2,10 @@ const minimum = 1;
2
const maximum = 100;
3
4
const num = Math.floor(Math.random() * (maximum - minimum + 1)) + minimum;
5
-
+console.log(num);
6
// In this exercise, you will need to work out what num represents?
7
// Try breaking down the expression and using documentation to explain what it means
8
// It will help to think about the order in which expressions are evaluated
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
+// represents a whole random number between 1 and 100
0 commit comments