subject
Business, 24.02.2020 17:33 aurorasweetpea610

A retail store has a preferred customer plan where customers can earn discounts on all their purchases. The amount of a customer's discount is determined by the amount of the customer's cumulative purchases in the store, as follows: When a preferred customer spends $500, they get a 5% discount on all future purchases. When a preferred customer spends $1,000, they get a 6% discount on all future purchases. When a preferred customer spends $1,5000, they get a 7% discount on all future purchases. When a preferred customer spends $2,000, they get a 10% discount on all future purchases. Design a class named PreferredCustomer, which inherits from the Customer class you created in Exercise 7. The preferredCustomer class should have int fields for the amount of the customer's purchases and the customer's discount level. Write a constructor that initializes these fields as well as accessor and mutator methods. Desmonstrate the class in a program that prompts the user to input the customer's name, address, phone number, customer number, whether they want to recieve mail, and the amount they've spent, and then uses that information to create a PreferredCustomer object and print its information. (Use string formatting to print the amount spent.) Create all of the classes in the same file by not delcaring any of them public. SAMPLE RUN

ansver
Answers: 2

Another question on Business

question
Business, 22.06.2019 03:00
Match each item to check for while reconciling a bank account with the document to which it relates. (there's not just one answer) 1. balancing account statement 2. balancing check register a. nsf fees b. deposits in transit c. interest earned d. bank errors
Answers: 3
question
Business, 22.06.2019 10:00
University car wash built a deluxe car wash across the street from campus. the new machines cost $219,000 including installation. the company estimates that the equipment will have a residual value of $19,500. university car wash also estimates it will use the machine for six years or about 12,500 total hours. actual use per year was as follows: year hours used 1 3,100 2 1,100 3 1,200 4 2,800 5 2,600 6 1,200 prepare a depreciation schedule for six years using the following methods: 1. straight-line. 2. double-declining-balance. 3. activity-based.
Answers: 1
question
Business, 22.06.2019 15:40
Aprice control is: question 1 options: a)a tax on the sale of a good that controls the market price.b)an upper limit on the quantity of some good that can be bought or sold.c)a legal restriction on how high or low a price in a market may go.d)control of the price of a good by the firm that produces it.
Answers: 1
question
Business, 22.06.2019 16:00
In a perfectly competitive market, the long-run market supply curve tends to be horizontal or nearly so. what is another way to state this fact? (a) market supply is much more elastic in the long run than the short run. (b) in the long run, average total cost is minimized. (c) in the long run, price equals marginal cost. (d) market supply is much less elastic in the long run than the short run.
Answers: 1
You know the right answer?
A retail store has a preferred customer plan where customers can earn discounts on all their purchas...
Questions
question
Mathematics, 07.01.2021 20:20
question
Arts, 07.01.2021 20:20
question
Arts, 07.01.2021 20:20
question
Mathematics, 07.01.2021 20:20
question
English, 07.01.2021 20:20