A retail store has a preferred customer plan where customers may earn discounts on all their purchases.
Question:
• When a preferred customer spends $500, he or she gets a 5% discount on all future purchases.
• When a preferred customer spends $1000, he or she gets a 6% discount on all future purchases.
• When a preferred customer spends $1500, he or she gets a 7% discount on all future purchases.
• When a preferred customer spends $2000 or more, he or she gets a 10% discount on all future purchases.
Open the Customer Information project that you modified in Programming Challenge 11. Design a new class named PreferredCustomer, which is derived from the Customer class. The PreferredCustomer class should have the following properties:
• PurchasesAmount (decimal)
• DiscountLevel (single)
Modify the application's form so it allows you to store data in each property of a PreferredCustomer object. Add the object to a collection, using the customer number as a key. Allow the user to look up a preferred customer by the customer number, edit the customer data, and remove a customer from the collection.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Business Statistics In Practice
ISBN: 9780073401836
6th Edition
Authors: Bruce Bowerman, Richard O'Connell
Question Posted: