subject

If there was a sale on toys, and a child picked up Brand B, how much discount would he get as per the below program? switch (d){ //d contains the brand label case “A”: price = price * 0.65 //apply a 35 percent discount break; case “B”: price = price * 0.75 break; case “C”: price = price * 0.8 break; default: //if none of the cases above apply price = price * 0.9; // apply a 10 percent discount } A. 5 B. 20 C. 35 D. 25 E. 10

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 11:00
In the context of the box model, what is the difference between a margin and a padding? a. a padding lies outside a box border, while a margin lies inside it. b. a padding lies inside a box border, while a margin lies outside it. c. a padding can be adjusted independently, while a margin depends on the size of its box. d. a padding depends on the size of its box, while a margin can be adjusted independently.
Answers: 3
question
Computers and Technology, 24.06.2019 10:00
3. what do the terms multipotentialite, polymath, or scanner mean?
Answers: 2
question
Computers and Technology, 24.06.2019 14:30
Ahousehold consists of a married couple and their twin five-year old daughters. the couples children had no income and lived with their parents all of last year. how many exemptions can the couple claim on last years tax return or they file with the “ married filing jointly “ status? a. 4 b. 5 c. 3 d. 2
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
Your is an example of personal information that you should keep private.
Answers: 2
You know the right answer?
If there was a sale on toys, and a child picked up Brand B, how much discount would he get as per th...
Questions
question
Mathematics, 02.09.2021 04:20
question
Chemistry, 02.09.2021 04:20
question
Mathematics, 02.09.2021 04:30
question
Mathematics, 02.09.2021 04:30
question
Mathematics, 02.09.2021 04:30