Question: CHALLENGE ACTIVITY 3.2.1: Arithmetic operators. Jump to level 1 A drink costs 4 dollars. A pizza costs 8 dollars. Given the number of each, compute

CHALLENGE ACTIVITY 3.2.1: Arithmetic operators. Jump to level 1 A drink costs 4 dollars. A pizza costs 8 dollars. Given the number of each, compute total cost and assign to totalCost. Ex: 2 drinks and 3 pizzas yields totalCost of 32. 1 let drinkQuantity = 2; // Code tested with values: 2 and 4 2 let pizzaQuantity = 3; // Code tested with values: 3 and 7 3 4 let totalCost = 0; 5 2 Check Next
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
