Program2: Box Office 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 theater's gross and net box office profit 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 child's ticket is $3.00.) It should display a report similar to the following: NOTE: Movies' name should be enclosed within the double quotation. Movie Name: "Wheels of Fury" Adult Tickets Sold: 382 Child Tickets Sold: 127 Gross Box Office Profit: $ 2673.00 Amount Paid to Distributor: - $2138.40 Net Box Office Profit: $ 534.60 Assume the theater keeps 20 percent of the gross box office profit.

EBK JAVA PROGRAMMING
8th Edition
ISBN:9781305480537
Author:FARRELL
Publisher:FARRELL
Chapter2: Using Data
Section: Chapter Questions
Problem 12PE
icon
Related questions
Question
Program2: Box Office
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 theater's gross and net
box office profit 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 child's
ticket is $3.00.) It should display a report similar to the following:
NOTE: Movies' name should be enclosed within the double quotation.
Movie Name:
"Wheels of Fury"
Adult Tickets Sold:
382
Child Tickets Sold:
127
$ 2673.00
$ 2138.40
$ 534.60
Gross Box Office Profit:
Amount Paid to Distributor:
Net Box Office Profit:
Assume the theater keeps 20 percent of the gross box office profit.
Transcribed Image Text:Program2: Box Office 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 theater's gross and net box office profit 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 child's ticket is $3.00.) It should display a report similar to the following: NOTE: Movies' name should be enclosed within the double quotation. Movie Name: "Wheels of Fury" Adult Tickets Sold: 382 Child Tickets Sold: 127 $ 2673.00 $ 2138.40 $ 534.60 Gross Box Office Profit: Amount Paid to Distributor: Net Box Office Profit: Assume the theater keeps 20 percent of the gross box office profit.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Mathematical functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT