You need to write a command-line program that asks the employee how many adults, teenagers, and children will be attending the event. The program should then calculate how many soft drinks, glasses of champagne, slices of pizza, and pieces of cake are needed for the event. You must determine on your own what you think a reasonable amount of each of these should be for each type of guest. Note that you may need to defend your determination with your lab group. The program should then present to the employee how much of each item they should buy and bring on board for the event.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter5: Making Decisions
Section: Chapter Questions
Problem 4PE
icon
Related questions
Question

You need to write a command-line program that asks the employee how many adults, teenagers, and children will be attending the event. The program should then calculate how many soft drinks, glasses of champagne, slices of pizza, and pieces of cake are needed for the event. You must determine on your own what you think a reasonable amount of each of these should be for each type of guest. Note that you may need to defend your determination with your lab group. The program should then present to the employee how much of each item they should buy and bring on board for the event.  

Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT