subject

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. let drinkQuantity = 2; // Code tested with values: 2 and 4
let pizzaQuantity = 3; // Code tested with values: 3 and 7

let totalCost = 0;

THIS IS JAVASCRIPT NOT MATH DO NOT GIVE ME SOME FORM OF MATH ANSWER

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 03:00
What are the different parts of computer
Answers: 2
question
Computers and Technology, 23.06.2019 16:10
What is the ooh? a. omaha occupation handbook b. online occupational c. occupations online d. occupational outlook handbook select the best answer from the choices provided
Answers: 3
question
Computers and Technology, 23.06.2019 19:00
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
question
Computers and Technology, 24.06.2019 07:00
Guys do you know sh27 cause he hacked me : ( pidgegunderson my old user
Answers: 2
You know the right answer?
A drink costs 4 dollars. A pizza costs 8 dollars. Given the number of each, compute total cost and a...
Questions
question
Mathematics, 25.07.2019 18:00
question
History, 25.07.2019 18:00
Questions on the website: 13722362