Skip to content

Commit 8d6342a

Browse files
committed
wrote console.log() to see what the code is doing
1 parent c4aa428 commit 8d6342a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Sprint-2/1-key-exercises/4-random.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ const num = Math.floor(Math.random() * (maximum - minimum + 1)) + minimum;
88
//math.random()*100 returns random number between 0 and 100
99
//math.floor()it rounds a number to thier nearest integer,
1010
//at the end we add 1.
11+
console.log(num)
1112

12-
// Try logging the value of num and running the program several times to build an idea of what the program is doing

0 commit comments

Comments
 (0)