subject
Business, 09.07.2019 20:10 antoinetteee03

For example, a candy bar item might cost 1.35 with a discount of 0.25 for preferred customers, meaning that preferred customers get it for 1.10. (some items will have no discount, 0.0.) currently the above classes do not consider discounts. every item in a bill is charged full price, and item discounts are ignored. define a class discountbill that extends grocerybill to compute discounts for preferred customers. the constructor for discountbill accepts a parameter for whether the customer should get the discount. your class should adjust the amount reported by gettotal for preferred customers. for example, if the total would have been $80 but a preferred customer is getting $20 in discounts, then gettotal should report the total as $60 for that customer. you should also keep track of how many items a customer is getting a non-zero discount for and the overall discount, both as a total amount and as a percentage of the original bill. include the extra methods below that allow a client to ask about the discount:

ansver
Answers: 3

Another question on Business

question
Business, 23.06.2019 01:00
The notarial evidence form is completed by
Answers: 2
question
Business, 23.06.2019 02:00
What percentage of hard rock's profit is derived from retail shop sales?
Answers: 1
question
Business, 23.06.2019 02:00
True of false: the chancellor of a university has commissioned a team to collect data on students' gpas and the amount of time they spend bar hopping every week (measured in minutes). he wants to know if imposing much tougher regulations on all campus bars to make it more difficult for students to spend time in any campus bar will have a significant impact on general students' gpas. his team should use a t test on the slope of the population regression.
Answers: 1
question
Business, 23.06.2019 07:50
Aeuropean aircraft producer has spent 15 years in developing a new aircraft that would potential threaten long-lasting boeing's dominance (monopoly) in the same class of aircrafts. the new european aircraft gets high marks on all performance measures except noise. because of the noise, the european producers management is concerned that the us government may impose restrictions which would forbid their aircraft to land in some of the american airports. without restrictions the estimated (present discounted) profit would be 125 million usd. with the restrictions the profit would only be 25 million usd. the chances of both outcomes are estimated to be 50-50. management must decide now whether to the cost of redesign program problem and a 60% chance it will fail. should the european aircraft producer start the noise redesign program if they do not have any redesign parts of the aircraft to solve the noise problem. is 25 million usd. there is a 40% chance that redesign will solve the noise additional information than mentioned above? draw the decision tree, indicate probabilities and outcomes of the events * imagine that the company could find out in advance the outcome of the u.s. government's e find the expected value of perfect information about the u.s. government's decision. decision. draw a new decision tree, indicate probabilities and outcomes of the events.
Answers: 3
You know the right answer?
For example, a candy bar item might cost 1.35 with a discount of 0.25 for preferred customers, meani...
Questions
question
Chemistry, 16.11.2020 09:00
question
Arts, 16.11.2020 09:00
question
Chemistry, 16.11.2020 09:00
Questions on the website: 13722359