You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// In this exercise, you will need to work out what num represents?
7
8
// Try breaking down the expression and using documentation to explain what it means
8
9
// It will help to think about the order in which expressions are evaluated
9
10
// Try logging the value of num and running the program several times to build an idea of what the program is doing
11
+
12
+
13
+
14
+
// SOLUTION:
15
+
16
+
// num represents a random number between the minimum and maximum values.
17
+
18
+
// program is designed for num to return random numbers between 1-100.
19
+
20
+
//expressions of math.floor and math.random are there for //generating a random number between the minimum and maximum values and then rounding it down to the nearest whole number...
0 commit comments