subject

Var amount = 100;
var discount = 0;
if(amount> 50)
discount = 0.1;
else if( amount > 75)
discount =0.15;
else if( amount> 100)
discount =0.2;
else
discount =0.25;
what is the value of discount?
0
0.1
0.15
0.2

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:30
Nathan wants to create multiple worksheet containing common formatting styles for his team members. which file extension him to save these worksheets? nathan to create multiple worksheets with common styles. he needs to save them with the extension.
Answers: 1
question
Computers and Technology, 22.06.2019 23:00
In which part of a professional email should you try to be brief, but highly descriptive?
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
What is the power dissipated by a resistor with a current of 0.02 a and a resistance of 1,000 ? a. 200 w b. 20 w c. 0.4 w d. 4 w
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
Which option correctly describes a dbms application? a. software used to manage databases b. software used to organize files and folders c. software used to develop specialized images d. software used to create effective presentations
Answers: 1
You know the right answer?
Var amount = 100;
var discount = 0;
if(amount> 50)
discount = 0.1;
els...
Questions
question
Mathematics, 24.09.2019 15:30
question
Mathematics, 24.09.2019 15:30
question
Mathematics, 24.09.2019 15:30
question
Mathematics, 24.09.2019 15:30
question
Mathematics, 24.09.2019 15:30