Skip to content

Conversation

@Shantelgray
Copy link

Adding math into the Arithmetic Lab.

@@ -1,2 +1,14 @@
let num1 = 2;
let num2 = 31;
let multiply = 62;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I'm sure this does pass the test, can you think of another way to get 62 here using multiplication?

Comment on lines +5 to +6
let random = 5;
Math.floor(Math.random() * 5);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And here: can you figure out a way to randomly generate a number and store the random number in the variable? (You're very close to doing it already).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants