Answered step by step
Verified Expert Solution
Question
1 Approved Answer
JAVA SAMPLE OUTPUT: Welcome to Weasleys' Wizard Wheezes! Can we help the next witch or wizard? (1 = yes, Here is our price list: Pygmy
JAVA
SAMPLE OUTPUT:
Welcome to Weasleys' Wizard Wheezes! Can we help the next witch or wizard? (1 = yes, Here is our price list: Pygmy Puffs (each) Extendable Ears (each) Extendable Ears (bag of three) Trick Wand (regular) Trick Wand (autographed) 2 = no) > 1 290 Knuts 60 Knuts 160 Knuts 1479 Knuts 2465 Knuts -- Do you want these prices or would you prefer to try your skill for a discount? You may elect to answer a challenge question if you answer correctly you will get discounted prices but if you answer incorrectly you must pay a 10% penalty on your overall bill. Do you accept the challenge? (1 = yes, 2 = no) > 1 You have accepted the challenge! Perhaps some day you may compete in the Triwizard Tournament! Please answer the following question: What name is listed for Harry's dad on the Marauder's Map? 1) Moony > 2 2) Wormtail 3) Padfoot 4) Prongs I am sorry but that is not correct! Clearly you must focus more on your 'History of Magic' course! You will be assessed a 10% surcharge on your purchases. Please choose an option: > 1 1) Update Pygmy Puffs Order 2) Update Extendable Ears Order 3) Update Trick Wands Order 4) Show price list 5) Check Out Here is your current order: No Pygmy Puffs ordered How many Pygmy Puffs would you like for 290 Knuts each? > 2 Please choose an option: > 2 1) Update Pygmy Puffs Order 2) Update Extendable Ears Order 3) Update Trick Wands Order 4) Show price list 5) Check Out Here is your current order: No Extendable Ears ordered How many Extendable Ears would you like for: 60 Knuts each 160 Knuts per bag of 3 (Please indicate only the total number you would like) > 7
Step 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