Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 $500Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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