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, 21.06.2019 22:30
Match the vocabulary word to the correct definition. 1. sexual harassment 2. terminate 3. recruitment 4. professional development 5. union a. any unwanted sexual attention, the suggestions that maintaining one’s job or professional advancement depends on sexual favors, or verbal and/or physical harassment of a sexual nature b. to fire from a job or end a professional relationship c. an organization of those in the same industry who join together to more effectively bargain with employers d. the process of attracting and hiring employees e. continuing education in a chosen field
Answers: 1
question
Business, 22.06.2019 01:40
Select the word from the list that best fits the definition sometimes
Answers: 2
question
Business, 22.06.2019 08:20
Which change is illustrated by the shift taking place on this graph? a decrease in supply an increase in supply o an increase in demand o a decrease in demand
Answers: 3
question
Business, 22.06.2019 19:10
Calculating and interpreting eps information wells fargo reports the following information in its 2015 form 10-k. in millions 2015 2014 wells fargo net income $24,005 $24,168 preferred stock dividends $1,535 $1,347 common stock dividends $7,400 $6,908 average common shares outstanding 5,136.5 5,237.2 diluted average common shares outstanding 5,209.8 5,324.4 determine wells fargo's basic eps for fiscal 2015 and for fiscal 2014. round answers to two decimal places.
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
Mathematics, 06.05.2020 02:32
Questions on the website: 13722363