Question: Need help with this C++ Program please. A movie theater only keeps a percentage of the revenue earned from ticket sales. The remainder goes to

Need help with this C++ Program please. A movie theater only keeps a percentage of the revenue earned from ticket sales. The remainder goes to the distributor. Write a program that calculates a theaters gross and net box ofce prot for a night. The program should ask for the name of the movie, and how many adult and child tickets were sold. (The price of an adult ticket is $6.00 and a childs ticket is $3.00.) It should display a report similar to the following:

Assume the theater keeps 20 percent of the gross box ofce prot.

Please enter the name of the movie: Titanic How many ADULT tickets sold: 30 How many CHILD tickets sold: 10 Movie Name: Titanic Adult Tickets Sold: 30 Child Tickets Sold: 10 Gross Box Office Profit: $210.00 Amount Paid to Distributor: $168.00 Net Box Office Profit: $42.00 To generate the above kind of output, you can use instructions similar to the one below. Please note the variables in your program might be different from the ones shown below. cout << "Movie Name: " << movieTitle << endl; cout << "Adult Tickets Sold:" << setw(4) << adultTix << endl; cout << "Child Tickets Sold:" << setw(4) << childTix << endl; cout << fixed << showpoint << setprecision(2); cout << "Gross Box Ofce Prot: $" << gross << endl; cout << "Amount Paid to Distributor: $" << distributor << endl; cout << "Net Box Ofce Prot: $" << net ;

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!