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 $ and a child's ticket is $ The movie distributor
keeps percent of the revenue earned from ticket sales. The remaining 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 PERCENTPROFIT and set it equal to compute other value using
subtraction.
Match the inputoutput 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 ie 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
