Write Program C Flowchart Best Friends Dog Rescue Hosting Movie Charity Event Needs Help C Q43825320
Write a program in Cand flowchart. Best Friends Dog Rescue is hosting a Movie CharityEvent and needs your help capturing what percentage of the night’ssales will be donated to their rescue group. The program shouldcalculate total cost for the number of movie tickets sold forAdults and Children, as well as Snack Sales. The total combinedsales for movie ticket sales and snacks should be calculated; andthen the percentage of that total calculated. You must use threedifferent arrays – These are, in effect, parallel arrays: One forAdult Movie Ticket Sales One for Child Movie Ticket Sales One forSnack Sales Remember to use a “for” loop for each array You shouldhave totals in $ amount for: Adult Movie Tickets sold ChildrenMovie Tickets sold Snack Tickets sold Overall totals, combining all3 categories Percentage for the total 3 categories – the % amountis your choice; for the program outcome shown below, 45% was usedHints and Suggestions: You can set your own movie prices – forexample, adult ticket is $15 You can set how many tickets have beensold in each category – for example, 5 adult tickets sold You canalso write the program to ask the user for this input, but this isnot required 5. At the end, it prints out the total dollar amountspent on sales for Adult Movie Tickets, Children Movie Tickets, andSnack Sales; and then an overall total spent. The percentage isthen calculated, so the Rescue Group knows how much money they willreceive Here is what the output looks like.

Welcome to the Best Friends Dog Rescue Charity Night at the Movies! Ticket Sales for Adults: Adult Ticket Price: $15.5 Adult Ticket Price: $15.5 Adult Ticket Price: $25.0 Adult Ticket Price: $25.0 Adult Ticket Price: $5.0 Adult Ticket Price: $7.5 Total Adult Ticket sales are $93.5. Ticket Sales for Children: Child Ticket Price: $8.5 Child Ticket Price: $12.5 Child Ticket Price: $8.5 Child Ticket Price: $15.5 Total Child Ticket sales are $45.0 Snack Sales: Snack Prices: $5.0 Snack Prices: $7.5 Snack Prices: $5.0 Snack Prices: $8.0 Total Snack Sales are $25.5. Total Ticket Sales are $164.0. The total donation for the Charity Event is $73.8. Show transcribed image text Welcome to the Best Friends Dog Rescue Charity Night at the Movies! Ticket Sales for Adults: Adult Ticket Price: $15.5 Adult Ticket Price: $15.5 Adult Ticket Price: $25.0 Adult Ticket Price: $25.0 Adult Ticket Price: $5.0 Adult Ticket Price: $7.5 Total Adult Ticket sales are $93.5. Ticket Sales for Children: Child Ticket Price: $8.5 Child Ticket Price: $12.5 Child Ticket Price: $8.5 Child Ticket Price: $15.5 Total Child Ticket sales are $45.0 Snack Sales: Snack Prices: $5.0 Snack Prices: $7.5 Snack Prices: $5.0 Snack Prices: $8.0 Total Snack Sales are $25.5. Total Ticket Sales are $164.0. The total donation for the Charity Event is $73.8.
Expert Answer
Answer to Write a program in C and flowchart. Best Friends Dog Rescue is hosting a Movie Charity Event and needs your help capturi…
OR