Skip to content

Commit 10386dd

Browse files
committed
formatting using prettier
1 parent f92ac80 commit 10386dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ const num = Math.floor(Math.random() * (maximum - minimum + 1)) + minimum;
1212
// the num assigned to a value that's in the dor of an expression
1313
// the math object is invoked to perform some mathematical tasks
1414
// the random method is invoked to get a random number between 0 and 1
15-
// the random number is multiplied by 100
15+
// the random number is multiplied by 100
1616
// the floor method is invoked to round down the result to its nearest integer
1717
// added one to the new result
1818
// the final result of the whole expression is what the variable num assigned to
1919
/* after applying the program several times, I got the idea that the program is generating
20-
a value to the num variable thats always between minimum an maximum*/
20+
a value to the num variable thats always between minimum an maximum*/

0 commit comments

Comments
 (0)