
i was asked to write a discount system for a beauty saloon, which provides services and sells beauty products. it offers 3 types of memberships: premium, Gold and Silver. premium, Gold and Silver members receive a discount of 20%, 15%, and 10% respectively, for all services provided. Customers without membership receive no discount. all members receives a flat 10% discount on products purchased(this might change in the future). the system shall consist of three classes: customer, discount, visit. it shall compute the total bill if a customer purchases $x of products and $y of services, for a visit. also write a test program to exercise all the classes.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.