Question: Using C++ Problem 5: Movie Ticket Sale Write a program that prompts the user to enter a movie name, adult ticket price, child ticket price,
Using C++

Problem 5: Movie Ticket Sale Write a program that prompts the user to enter a movie name, adult ticket price, child ticket price, number of adult tickets sold, number of child tickets sold, and percentage of gross amount to be donated to charity. The program should output the following information Movie name Total number of tickets sold .Gross amount .Percentage of amount donated Amount donated Net sale Set precision to 2 decimal numbers and format the output as shown in the sample below. Sample input/ output: nter the movie name: Duckey Goes to Mars Enter the price of an adult ticket: 11.5 Enter the price of a child ticket: 8.5 Enter the number of adult tickets sold: 1234 Enter the number of child tickets sold: 256 Enter the percentage of donation: 15 vie Name: Duckey Goes to Mars r of Tickets Sold: 1490 ercentage of Gross Amount Donated : 15.ee% nt Donated: . .. $ 2455.e5 t Sale: . . $13911.95
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
