Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PYTHON- A movie theater only keeps a percentage of the revenue earned from ticket sales. The remainder goes to the movie distributor. Write a program,

PYTHON-

A movie theater only keeps a percentage of the revenue earned from ticket sales. The remainder goes to the movie distributor. Write a program, in python, that calculates a theaters gross and net box office profit for a night. The program should ask for how many adult and child tickets were sold. Net box office is 20% of Gross. Distributor would be 80% of gross. (The price of an adult ticket is $10.00 and a childs ticket is $6.00.) It should display a report similar to:

Adult Tickets Sold: 382

Child Tickets Sold: 127

Gross Box Office Profit: $4582.00

Net Box Office Profit: $916.40

Amount Paid to Distributor: $3665.60

Create two functions for input, one for 'adult tickets sold' and one for 'child tickets sold'

Create a function for calculating gross

Create a function for calculating net

Create a function for calculating distributor

Create a function for output which contains 5 print lines

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_2

Step: 3

blur-text-image_3

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

Practical Database Programming With Visual C# .NET

Authors: Ying Bai

1st Edition

0470467274, 978-0470467275

More Books

Students also viewed these Databases questions

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago