Directions:
Write an expression that uses at least 3 different arithmetic operators.
The expression should equal 42.
Hint: +, -, *, /, and % are possible arithmetic operators
用至少三種運算符號(加減乘除),寫一個運算式,運算結果必須為 42
/*
* Programming Quiz: First Expression (2-1)
*
* Write an expression that uses at least three, different, arithmetic operators
* to log the number 42 to the console.
*/
// this expression equals 4, change it to equal 42
console.log(10 * 2 + 24 - 2);