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

Other questions on the subject: Business

image
Business, 22.06.2019 07:20, staxeeyy767
Richardson hired j. c. flood company, a plumbing contractor, to correct a stoppage in the sewer line of her house. the plumbing company's 'snake' device, used to clear the line leading to the main sewer, became caught in the underground line. to release it, the company excavated a portion of the sewer line in richardson's backyard. in the process, the company discovered numerous leaks in a rusty, defective water pipe that ran parallel with the sewer line. to meet public regulations, the water pipe, of a type no longer approved for such service, had to be replaced either then or later, when the yard would have to be excavated again. the plumbing company proceeded to repair the water pipe. though richardson inspected the company's work daily and did not express any objection to the extra work involved in replacing the water pipe, she refused to pay any part of the total bill after the company completed the entire operation. j. c. flood company then sued richardson for the costs of labor and material it had furnished. (c) for what, if anything, should richardson be liable? explain."
Answers: 1
image
Business, 22.06.2019 13:40, moneytt2403
Computing equivalent units is especially important for: (a) goods that take a relatively short time to produce, such as plastic bottles. (b) goods with sustainability implications in their production processes. (c) goods that are started and completed during the same period. (d) goods that take a long time to produce, such as airplanes.
Answers: 2
image
Business, 22.06.2019 18:30, jdilla98
Order these statements in the correct order to fill in the central idea and key points for a chronological speech. question 22 options: there are several steps that someone must take to become a doctor. finally, you will need to get a medical license, and become board certified in your specialty area. then, you must get admitted into to medical school and earn a medical degree. next, you will need to complete a residency. first you must earn a bachelors degree.
Answers: 2
image
Business, 22.06.2019 19:00, chloesmolinski0909
Why is accountability important in managing safety
Answers: 2
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 in other subjects: