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: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 07:30, Braxtonw875
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
image
Computers and Technology, 24.06.2019 19:50, joThompson
Which is a characteristic of free and open-source software licenses? a. the source code is unavailable to everyone b. the source code is available only to the government c. the source code is available to all users d. the source code is constantly modified
Answers: 1
image
Computers and Technology, 25.06.2019 00:30, kukisbae
How do i take a screenshot on a laptop?
Answers: 2
image
Computers and Technology, 25.06.2019 03:00, reearamrup27
Match the categories in the first column with examples in the second column. 1. good for watching movies 2. maximum power with small size 3. older style mobile devices that may or may not have internet connectivity tablet computer a.)pda b.)smart phone c.)tablet computer
Answers: 1
You know the right answer?
Var tax = .07; var getCost = function(itemCost, numItems) {
var subtotal = itemCost * numItem...

Questions in other subjects:

Konu
Chemistry, 17.09.2020 04:01
Konu
Mathematics, 17.09.2020 04:01
Konu
Mathematics, 17.09.2020 04:01
Konu
Mathematics, 17.09.2020 04:01
Konu
Mathematics, 17.09.2020 04:01
Konu
Biology, 17.09.2020 04:01
Konu
Mathematics, 17.09.2020 04:01
Konu
Mathematics, 17.09.2020 04:01
Konu
English, 17.09.2020 04:01