You are hosting a Movie Charity Event and want to capture wh…

You are hosting a Movie Charity Event and want to capture what  percentage of the sales will be donated to the charity group. The  program should calculate total cost for the number of movie tickets sold  for Adults and Children. Here is what the output looks like.

To determine the percentage of sales that will be donated to the charity group for your Movie Charity Event, a program needs to be developed that calculates the total cost for the number of movie tickets sold for adults and children. The program would take into account the prices of adult and children tickets, as well as the number of tickets sold for each category.

The output of the program would display the total cost for adult tickets, the total cost for children tickets, the overall sales from ticket sales, and the percentage of sales that will be donated to the charity group.

To begin, the program would need to prompt the user for the number of adult tickets sold and the number of children tickets sold. It would also require input for the prices of adult and children tickets.

The program would then calculate the total cost for adult tickets by multiplying the number of adult tickets sold by the price of an adult ticket. Similarly, it would calculate the total cost for children tickets by multiplying the number of children tickets sold by the price of a children ticket.

Subsequently, the program would calculate the overall sales from ticket sales by summing the total cost for adult tickets and the total cost for children tickets.

Finally, to determine the percentage of sales that will be donated to the charity group, the program would divide the total cost for adult and children tickets by the overall sales from ticket sales and multiply the result by 100.

The output of the program would then display the total cost for adult tickets, the total cost for children tickets, the overall sales from ticket sales, and the percentage of sales that will be donated to the charity group.

Here is an example of what the output may look like:

Number of adult tickets sold: 50
Number of children tickets sold: 30
Price of adult ticket: \$10
Price of children ticket: \$5

Total cost for adult tickets: \$500
Total cost for children tickets: \$150
Overall sales from ticket sales: \$650
Percentage of sales donated to the charity group: 76.92%

This output indicates that 76.92% of the sales from the Movie Charity Event will be donated to the charity group, based on the total cost of adult and children tickets.

Implementing this program will allow you to accurately calculate the percentage of sales that will be donated to the charity group and ensure transparency in your Movie Charity Event’s fundraising efforts.

The post You are hosting a Movie Charity Event and want to capture wh… appeared first on My Perfect Tutors.