Question: Write a program for a movie theater to calculate how much money they made from a movie in a particular day. For now we will

Write a program for a movie theater to calculate how much money they made from a movie in a particular day. For now we will hardcode values instead of retrieving user input. You'll need three variables (a string and two integers): One for the movie's name One for how many adult tickets were sold today One for how many child tickets were sold today. You can place whatever data you like in these variables while testing your code. Each child ticket costs $6 and each adult ticket costs $10. Use these values to calculate the gross total the theater made today (i.e. how much money did all the tickets sold cost). Then, calculate the theater's profit and the studio's profit. The theater receives 20% of the gross total and the studio receives the other 80%

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 Mathematics Questions!