Section 1 - Instruction

Let's quickly recap what we did last time.

Engagement Message

Ready to jump in?

Section 2 - Instruction

So last time, we saw how to add values stored in variables, like:

let totalScore = score1 + score2;

Engagement Message

If score1 was 50 and score2 was 25, what value ended up in totalScore?

Section 3 - Instruction

Great! Besides adding (+), JavaScript can also do subtraction using the minus sign (-).

If you have:

Engagement Message

What value do you think remainingCoins holds?

Section 4 - Instruction

JavaScript uses the asterisk (*) for multiplication. It works just like you'd expect.

Example:

Engagement Message

How many totalApples would there be?

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal