Question: 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 orwizard? (1 = yes, Here is our price list: Pygmy Puffs (each)Extendable Ears (each) Extendable Ears (bag of three) Trick Wand (regular) TrickWand (autographed) 2 = no) > 1 290 Knuts 60 Knuts 160Knuts 1479 Knuts 2465 Knuts -- Do you want these prices orwould you prefer to try your skill for a discount? You mayelect to answer a challenge question if you answer correctly you willget discounted prices but if you answer incorrectly you must pay a10% 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 answerthe following question: What name is listed for Harry's dad on theMarauder's Map? 1) Moony > 2 2) Wormtail 3) Padfoot 4) ProngsI am sorry but that is not correct! Clearly you must focusmore on your 'History of Magic' course! You will be assessed a

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

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 Programming Questions!