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, 21.06.2019 22:20
Suppose a ceiling fan manufacturer has the total cost function c(x) = 48x + 1485 and the total revenue function r(x) = 75x. (a) what is the equation of the profit function p(x) for this commodity? p(x) = (b) what is the profit on 35 units? p(35) = interpret your result. the total costs are less than the revenue. the total costs are more than the revenue. the total costs are exactly the same as the revenue. (c) how many fans must be sold to avoid losing money? fans
Answers: 1
question
Business, 22.06.2019 21:00
Dozier company produced and sold 1,000 units during its first month of operations. it reported the following costs and expenses for the month: direct materials $ 69,000 direct labor $ 35,000 variable manufacturing overhead $ 15,000 fixed manufacturing overhead 28,000 total manufacturing overhead $ 43,000 variable selling expense $ 12,000 fixed selling expense 18,000 total selling expense $ 30,000 variable administrative expense $ 4,000 fixed administrative expense 25,000 total administrative expense $ 29,000 required: 1. with respect to cost classifications for preparing financial statements: a. what is the total product cost
Answers: 2
question
Business, 22.06.2019 23:10
Jake and janelle loved to prepare gourmet meals for friends and family. they started a business of preparing theme-type dinners for friends who were having parties. to generate even more interest in the business, janelle created on her website. she posted pictures of events, and close-ups of the food they served. she encouraged patrons and others to post reviews, comments, and favorite recipes, and to share their own party ideas. her promotion became a dialogue between buyers of her service and the business. interactive promotion infomercials product placement broadcast
Answers: 2
question
Business, 23.06.2019 02:30
Harmon inc. produces joint products l, m, and n from a joint process. information concerning a batch produced in may at a joint cost of $75,000 was as follows:
Answers: 3
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, 19.08.2019 02:30
Questions on the website: 13722367