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

Other questions on the subject: Business

image
Business, 21.06.2019 23:20, christopherschool04
On october 2, 2016 starbucks corporation reported, on its form 10-k, the following (in millions): total assets $14,329.5 total stockholders' equity 5,890.7 total current liabilities 4,546.9 what did starbucks report as total liabilities on october 2, 2016? select one: a. $12,516.7 million b. $6,377.3 million c. $995.0 million d. $8,438.8 million e. none of the above
Answers: 2
image
Business, 22.06.2019 01:50, jjaheimhicks3419
Amanda rice has just arranged to purchase a $640,000 vacation home in the bahamas with a 20 percent down payment. the mortgage has a 7 percent apr compounded monthly and calls for equal monthly payments over the next 30 years. her first payment will be due one month from now. however, the mortgage has an eight-year balloon payment, meaning that the balance of the loan must be paid off at the end of year 8. there were no other transaction costs or finance charges. how much will amanda’s balloon payment be in eight years
Answers: 3
image
Business, 22.06.2019 12:00, ambercombs
Suppose there are three types of consumers who attend concerts at your university’s performing arts center: students, staff, and faculty. each of these groups has a different willingness to pay for tickets; within each group, willingness to pay is identical. there is a fixed cost of $1,000 to put on a concert, but there are essentially no variable costs. for each concert: i. there are 140 students willing to pay $20. (ii) there are 200 staff members willing to pay $35. (iii) there are 100 faculty members willing to pay $50. a) if the performing arts center can charge only one price, what price should it charge? what are profits at this price? b) if the performing arts center can price discriminate and charge two prices, one for students and another for faculty/staff, what are its profits? c) if the performing arts center can perfectly price discriminate and charge students, staff, and faculty three separate prices, what are its profits?
Answers: 1
image
Business, 22.06.2019 15:20, lamashermosa23
On january 2, 2018, bering co. disposes of a machine costing $34,100 with accumulated depreciation of $18,369. prepare the entries to record the disposal under each of the following separate assumptions. exercise 8-24a part 2 2. the machine is traded in for a newer machine having a $50,600 cash price. a $16,238 trade-in allowance is received, and the balance is paid in cash. assume the asset exchange has commercial substance.
Answers: 2
You know the right answer?
A retail store has a preferred customer plan where customers can earn discounts on all their purchas...

Questions in other subjects:

Konu
History, 20.09.2020 06:01
Konu
Biology, 20.09.2020 06:01