Computers and Technology, 20.01.2022 14:00 ella3714
Write function calls so that: A $70 item receives a 30% discount and the tax is 5%
given variable: var price;
given function
function applyDiscount(cost, percentDiscount){
var temp = 100 - percentDiscount;
temp = temp/100;
cost = cost*temp;
return cost;
}
given function
function applyTax(cost, percentTaxed){
var temp = 100 + percentTaxed;
temp = temp/100;
cost = cost*temp;
return cost;
}
Answers: 1
Computers and Technology, 23.06.2019 09:30
The place where the extended axis of the earth would touch the celestial sphere is called the celestial
Answers: 1
Computers and Technology, 23.06.2019 17:30
Per the municipal solid waste report, what are the most common sources of waste (trash
Answers: 3
Computers and Technology, 23.06.2019 20:50
3.11.3 quiz: comparing and analyzing function typesquestion 4 of 102 pointswhat can you say about the y-values of the two functions f(x) = 3x2-3 andg(x)=2* - 3?
Answers: 2
Write function calls so that: A $70 item receives a 30% discount and the tax is 5%
given variable:...
Computers and Technology, 10.02.2020 18:44
Health, 10.02.2020 18:44
Chemistry, 10.02.2020 18:44
History, 10.02.2020 18:44
Mathematics, 10.02.2020 18:44
Mathematics, 10.02.2020 18:45
Mathematics, 10.02.2020 18:45