Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Programing A movie theater only keeps a percentage of the revenue earned form ticket sales and the remainder goes to the movie distributor. Write

C++ Programing

A movie theater only keeps a percentage of the revenue earned form ticket sales and the remainder goes to the movie distributor.

Write a program that calculates a theater's gross and net box office profit for a night.

The program should prompt for

the name of the movie

how many adult tickets were sold

and child tickets were sold.

The price of one adult ticket is $15

The price of one child ticket is $6.

The theater keeps 22% of the gross profit.

You should output your results of the code so that

The title is surrounded by quotes.

The dollar signs all line up

The decimal signs all line up

Everything is neatly formated

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

More Books

Students also viewed these Databases questions

Question

=+Trainers from headquarters? Local trainers? Independent trainers?

Answered: 1 week ago