subject

Var tax = .07; var getCost = function(itemCost, numItems) {

var subtotal = itemCost * numItems;

var tax = 0.06;

var total = subtotal + subtotal * tax;

return (total);

}

var totalCost = getCost(25.00, 3);

alert("Your cost is $" + totalCost. toFixed(2) + " including a tax of " +

tax. toFixed(2));

Which variable represents the function expression?

a. totalCost

b. getCost

c. itemCost

d. total

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:40
You are working with a professional edition organization. they wish to install the expense tracker which requires the use of 4 custom tabs, 3 custom objects, and one custom app. if the company is already using 4 applications, 36 custom objects, and 7 custom tabs, what will happen when they try to install expense tracker?
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
How can the temperature of a room be raised by 5degreesf?
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
Auniform resource locator (url) is a formatted string of text that web browsers, email applications, and other software programs use to identify a particular resource on the internet. true false
Answers: 2
question
Computers and Technology, 24.06.2019 15:50
Andy would like to create a bulleted list. how should he do this? andy should click on the bullet icon or select the bullet option from the menu and then type the list. andy should press the shift key and the 8 key at the beginning of each line of text. andy should type the text and then click on the bullet command. andy should press return and the bullets will automatically
Answers: 2
You know the right answer?
Var tax = .07; var getCost = function(itemCost, numItems) {

var subtotal = itemCost * n...
Questions
question
Computers and Technology, 18.03.2021 01:40
question
Mathematics, 18.03.2021 01:40
question
Mathematics, 18.03.2021 01:40
question
Mathematics, 18.03.2021 01:40
question
English, 18.03.2021 01:40
question
Mathematics, 18.03.2021 01:40
Questions on the website: 13722362