Foundations
Arithmetic Operators
Arithmetic Operators
Arithmetic operators create a new number from existing values. They do not change the original values unless you assign the result back into a variable.
Your task: Use the provided price, quantity, and shipping values to create orderTotal. The total should include the item cost for every item plus shipping. Log the total.
Prerequisites
- variables
Tests
- orderTotal includes item cost and shipping
- orderTotal is a number
- the total is logged