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, 22.06.2019 22:30
Alex’s family members live in different parts of the world. they would like to discuss the wedding plans of one of their distant relatives. however, alex wants all the family members to talk to each other simultaneously so that they can make decisions quickly. which mode of internet communication should they use? a. blog b. email c. wiki d. message board e. instant messaging
Answers: 2
question
Computers and Technology, 23.06.2019 00:10
My has been slow anyone else’s ?
Answers: 1
question
Computers and Technology, 23.06.2019 12:10
2. fabulously fit offers memberships for$35 per month plus a $50 enrollmentfee. the fitness studio offersmemberships for $40 per month plus a$35 enrollment fee. in how many monthswill the fitness clubs cost the same? what will the cost be?
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
How often does colleges update the cost of attendance on their website? . a)every two years b) every four years c) every year d) every semester
Answers: 1
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
Biology, 05.11.2020 23:00
question
Mathematics, 05.11.2020 23:00
question
Mathematics, 05.11.2020 23:00
Questions on the website: 13722361