You've learned about addition, subtraction, multiplication, and division in JavaScript. You also know that multiplication and division happen before addition and subtraction.
Engagement Message
Ready to practice your math skills?
Type
Multiple Choice
Practice Question
In JavaScript, what is the result of this expression: 6 + 3 * 2
?
A. 18 B. 12 C. 10 D. 16
Suggested Answers
- A
- B - Correct
- C
- D
Type
Fill in The Blanks
Markdown With Blanks
Fill in the blanks to create a calculation that subtracts 5 from 20 and stores the result in a variable called difference
:
Suggested Answers
- difference
- 20
- 5
- val
Type
Multiple Choice
Practice Question
Assume the following variables have been declared:
Which of these expressions will evaluate to 15?
A. num1 + num2
B. num1 * num3
C.
D.
