Question: Answer in Java using Array Question 1 (60%): Bring on the Heat For this question, you will receive a list of menu items, and print

Answer in Java using Array

Question 1 (60%): Bring on the Heat For this question, you will receive a list of menu items, and print out a sentence describing each to the customer. Initially, you will receive the number of items on the current menu. For each, you will receive a single line of input formatted: NAME SHU Price(6) Price(12) Price(18) and output a single line of text in the following format: NAME Wings cost $(P6)/$(P12)/$(P18) and have SHU Scovilles (WARNING) Where WARNING is set to mild if its Scoville value is less than or equal to 10,000 SHU; hot! if its Scoville value is less than 1,000,000 SHU; and DANGER!!! otherwise. Example Input: 3 Medium 5000 6 11 16 Crazy 30000 4 7 10 Wild 1200500 5 6 7 Output: Medium Wings cost $6.00/$11.00/$16.00 and have 5000 Scovilles (mild) Crazy Wings cost $4.00/$7.00/$10.00 and have 30000 Scovilles (hot!) Wild Wings cost $5.00/$6.00/$7.00 and have 1200500 Scovilles (DANGER!!!)

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!