JAVASCRIPT · ОСНОВЫ · LESSON 05
Count the purchase.
Addition and multiplication · about 12 minutes
Learning with progressRead the summary for free. To save the work, log in to the account.
Type the code yourself
Type an example manually. Check the names, brackets and signs.
const price = 4;
const count = 3;
console.log(price * count);Open the editor for class workSolve it yourself
The price of price is 5, the number of count is 4. Save their product in const total and output total.
The answer is hidden. Use similar examples from the lesson notes.
Opening up your homework