Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

There are three type of Customer say Classic, Gold and Platinum. Each type get different discount depends of the purchase amount per below table. Create

There are three type of Customer say Classic, Gold and Platinum. Each type get different discount depends of the purchase amount per below table. Create a project which will start once and can do this calculation and number of times user want. Program will terminate once user press 0(Zero). Make use of Interface, most of the OOP concepts. One class should not have more than one responsibility. Project should be extensible. If new discount type is to introduce in future then existing core logic should not break/ not require to change

Purchase Classic(discount) Gold (discount) Platinum(discount) 1-10000 10% 20% 30 % 10001-20000 15 % 25% 35 % 20000 above 20 % 30 % 40%

Print 1. Discount 2. Final

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Temple Of Django Database Performance

Authors: Andrew Brookins

1st Edition

1734303700, 978-1734303704

More Books

Students also viewed these Databases questions

Question

2. Outline the business case for a diverse workforce.

Answered: 1 week ago