1. Create an abstract class DiscountPolicy. It should have a single abstract method computeDiscount that will return the discount for the purchase of a given number of a single item. The method has two parameters, count and itemCost. 2. Derive a class BulkDiscount from DiscountPolicy, as described in the previous exercise. It should have a constructor that has two parameters, minimum and percent. It should define the method computeDiscount so that if the quantity purchased of an item is more than minimum, the discount is percent percent. 3. Derive a class BuyNItemsGetOneFree from DiscountPolicy, as described in Exercise 1. The class should have a constructor that has a single parameter n. In addition, the class should define the method computeDiscount so that every nth item is free. For….
Category Archives: Proofreading/Editing
Proofread the following .
What is that, what’s that light, what am i I doing here, who the hell is that ugly man? Am I dead or alive?
I need to get out of here I need to go back to my son he is in need of me. But where the hell am I. this doesn’t look like the hospital at all. Is that the doctor? No no he was a lot taller than that. I need to ask him about my son I need to see my son. Hey where is my son his name is Jake do you know where is he, I asked him. Why is he running away hey stop I need my son where are you going? Why is it so dark….