Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
Assignment 11 There are three type of Customer say Classic, Gold and Platinum. Each type get different discount depends of the purchase amount per below
Assignment 11 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 in java 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 1-10000 10001-20000 20000 above Print 1. Discount 2. Final Bill Classic(discount) 10% 15 % 20 % Gold (discount) Platinum(discount) 20% 25% 30 % 30 % 35 % 40%
Assignment 11
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 in java 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 1-10000 10001-20000 20000 above
Print
1. Discount 2. Final Bill
Classic(discount) 10%
15 % 20 %
Gold (discount) Platinum(discount)
20% 25% 30 %
30 % 35 % 40%
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started