![subject](/tpl/images/cats/informatica.png)
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;
}
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 10:20, alcantar28eduin
Print "usernum1 is negative." if usernum1 is less than 0. end with newline. convert usernum2 to 0 if usernum2 is greater than 10. otherwise, print "usernum2 is less than or equal to 10.". end with newline
Answers: 3
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 19:30, 123iamthe1
You can apply several different worksheet themes from which tab?
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 22:30, kayelynn003
How many points do i need before i can send a chat
Answers: 1
You know the right answer?
Write function calls so that: A $70 item receives a 30% discount and the tax is 5%
given variable:...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/himiya.png)
![Konu](/tpl/images/cats/obshestvoznanie.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 11.12.2020 05:30
![Konu](/tpl/images/cats/mat.png)
Mathematics, 11.12.2020 05:30
![Konu](/tpl/images/cats/ap.png)
Advanced Placement (AP), 11.12.2020 05:30
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/informatica.png)
Computers and Technology, 11.12.2020 05:30
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 11.12.2020 05:30