Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

python! Assignment #1: Concert Seating & Income (Due Friday, February 21st @11:59pm) There are four seating categories at a concert event. The VIP seats are

image text in transcribedpython!
image text in transcribed
Assignment #1: Concert Seating & Income (Due Friday, February 21st @11:59pm) There are four seating categories at a concert event. The VIP seats are $100, Class A seats are $75, Class B seats are $50, and Class C seats are $25. This concert also provides meals and beverages for a 15% upcharge for individuals seated in Class A, B, and C. (Individuals with VIP get meals and beverages for free). Write a program that asks how many tickets were sold for each class of seats, how many meals and beverages were purchased for these respective classes, and then displays the amount of tickets sold, the amount of meals and beverages sold, and the total income generated for this event. Note: Since your program will require the input of integers, you should use the input statement in the type of format below: vip - int (input('Enter the number of sold VIP tickets: ')). Note: This program should include a mixture of both void and returning value functions (not just one or the other as the primary functions). Output: Your program's output should resemble the following: CONCERT INFORMATION Enter the number of VIP tickets sold: 30 Enter the number of Class A tickets sold: 45 Enter the number of Class B tickets sold: 60 Enter the number of Class C tickets sold: 85 Enter the number Class A tickets sold with food and beverages: 25 Enter the number Class B tickets sold with food and beverages: 40 Enter the number Class C tickets sold with food and beverages: 65 CONCERT RESULTS The total number of tickets sold: 220 The total number of tickets sold with food and beverages: 130 The total amount of income generated from the concert: $ 17825.00 >>>

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

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions

Question

What are the limitations of forward markets?

Answered: 1 week ago