Question: CODE IN JAVA PLEASE 8. Forever 21 is having their annual spring fling sale! Write a code that applies the appropriate discount to the person's

CODE IN JAVA PLEASE

 CODE IN JAVA PLEASE 8. Forever 21 is having their annual

8. Forever 21 is having their annual spring fling sale! Write a code that applies the appropriate discount to the person's final price at the checkout. In addition, write the input, output, error conditions for your code as well as include possible test cases. With the test cases, write what the expected output would be, "run" your code and write what the actual output would be. The sale at Forever 21 is: - If $50 or more are spent, you get 10% off - If $100 or more are spent, you get 20% off - If $200 or more are spent you get 30% off If $500 or more are spent, you get 35% off your first $500 dollars then you get an additional $10 off for every $50 above $500

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!