Skip to content

Arthmetic Lab#29

Open
Shantelgray wants to merge 1 commit into
learn-co-curriculum:masterfrom
Shantelgray:master
Open

Arthmetic Lab#29
Shantelgray wants to merge 1 commit into
learn-co-curriculum:masterfrom
Shantelgray:master

Conversation

@Shantelgray
Copy link
Copy Markdown

Adding math into the Arithmetic Lab.

Comment thread index.js
@@ -1,2 +1,14 @@
let num1 = 2;
let num2 = 31;
let multiply = 62;
Copy link
Copy Markdown

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 thread index.js
Comment on lines +5 to +6
let random = 5;
Math.floor(Math.random() * 5);
Copy link
Copy Markdown

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