Question: Write a C + + program for a local movie theater to calculate its profit from ticket sales. At a local movie theater, the price

Write a C++ program for a local movie theater to calculate its profit from ticket sales.
At a local movie theater, the price of an adult ticket is $10.00, and a child's ticket is $6.50. The movie distributor
keeps 80 percent of the revenue earned from ticket sales. The remaining 20 percent goes to the movie theater.
Write a program that calculates the theater's gross ticket sales, net box office profit, and the amount paid to the
distributor for a movie. The program should ask for the Name of the movie and how many adult and child
tickets were sold.
REQUIRED:
Before you start coding, complete the program development sheet provided at the end.
Use integer and double as the data types when appropriate in your solution.
Declare only one constant PERCENT_PROFIT and set it equal to 80%, compute other value using
subtraction.
Match the input/output EXACTLY with what is provided below down to every blank space and line.
Each dollar amount should have two digits after the decimal point. Hint: use setprecision() and fixed.
Assume the movie title will be one word (i.e., Alien, Jaws, Godfather, Rocky, etc.).
Not allowed to hardcode prices or percentages in your calculations

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!