Question: Using C++ Write a program that prompts the user to enter a movie name, adult ticket price, child ticket price, number of adult tickets sold,

Using C++

Using C++ Write a program that prompts the user to enter a

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: Enter 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 149e Percentage of Gross Amount Donated: Amount Donated: . 15.00% $ 2455.es

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!