After the code that follows is executed, what is the value of discountAmount? var discountAmount; var orderTotal = 200; if (orderTotal > 200) { discountAmount = orderTotal *.3; } else if (orderTotal > 100) { discountAmount = orderTotal *.2; } else { discountAmount = orderTotal *.1; }
+5
Answers (1)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “After the code that follows is executed, what is the value of discountAmount? var discountAmount; var orderTotal = 200; if (orderTotal > ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Home » Computers & Technology » After the code that follows is executed, what is the value of discountAmount? var discountAmount; var orderTotal = 200; if (orderTotal > 200) { discountAmount = orderTotal *.3; } else if (orderTotal > 100) { discountAmount = orderTotal *.