Create an Account

Already have account?

Forgot Your Password ?

Home / Questions / Write a program in C and flowchart. Best Friends Dog Rescue is hosting a Movie Charity Event and...

Write a program in C and flowchart. Best Friends Dog Rescue is hosting a Movie Charity Event and...

Write a program in C and flowchart. Best Friends Dog Rescue is hosting a Movie Charity Event and needs your help capturing what percentage of the night’s sales will be donated to their rescue group. The program should calculate total cost for the number of movie tickets sold for Adults and Children, as well as Snack Sales. The total combined sales for movie ticket sales and snacks should be calculated; and then the percentage of that total calculated. You must use three different arrays - These are, in effect, parallel arrays: One for Adult Movie Ticket Sales One for Child Movie Ticket Sales One for Snack Sales Remember to use a "for" loop for each array You should have totals in $ amount for: Adult Movie Tickets sold Children Movie Tickets sold Snack Tickets sold Overall totals, combining all 3 categories Percentage for the total 3 categories – the % amount is your choice; for the program outcome shown below, 45% was used Hints and Suggestions: You can set your own movie prices – for example, adult ticket is $15 You can set how many tickets have been sold in each category – for example, 5 adult tickets sold You can also write the program to ask the user for this input, but this is not required 5. At the end, it prints out the total dollar amount spent on sales for Adult Movie Tickets, Children Movie Tickets, and Snack Sales; and then an overall total spent. The percentage is then calculated, so the Rescue Group knows how much money they will receive Here is what the output looks like.

 

Attachments:

 

Apr 02 2020 View more View Less

Answer (Solved)

question Subscribe To Get Solution

Related Questions