Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

An event venue offers four packages for parties ( birthday parties, graduation parties, retirement parties, etc. ) . It offers activities such as bowling, laser

An event venue offers four packages for parties (birthday parties, graduation parties, retirement parties, etc.). It offers activities such as bowling, laser tag, ropes course, video games, and VR experiences. You are tasked with writing a program that calculates the cost for a selected package, number of people, and duration.
Each package charges a minimum fee for the first hour, and an additional fee every hour in excess of the first hour. The maximum duration possible for reserving an event is 4 hours. There is a maximum charge for an event. There is a minimum number of guests and a maximum number of guests for each package.
The package covers all the activities except food. Food is separate cost, on a per person basis.
Your program calculates and prints the total charge for a selected package, the duration, and food (based on the number of people attending).
Your program calculates and prints the total charge for a selected package, the duration, and food (based on the number of people attending).
\table[[Package,\table[[First Hour],[for the],[event],[(minimum)]],\table[[Hourly],[Cost],[after],[the],[First],[Hour]],\table[[Minimum],[number],[of guests]],\table[[Maximum],[number],[of guests]],\table[[Cost],[per],[person],[for],[food]],{f3b5e1e40-3cf9-4c7a-bffb-eace026c94bc}
\table[[Maxir],[charg],[(incluc],[food)],[an eve]]],[1,$150,$100,5,20
Examples (your program must follow this format precisely)
Example #1:
Please select from three packages: 1,2, and 3
Enter package selection: 1
Enter hours: 3?
Enter number of guests: 20?
Charge($): 595
Example #2:
Please select from three packages: 1,2, and 3
Enter package selection: 2?
Enter hours: 4?
Enter number of guests: 10
Charge($): 760,$25,$595
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions

Question

Describe strategic succession planning in todays environment.

Answered: 1 week ago

Question

Explain the various elements of a diverse workforce.

Answered: 1 week ago

Question

Describe the strategic planning process.

Answered: 1 week ago