Write Program C Flowchart Best Friends Dog Rescue Hosting Movie Charity Event Needs Help C Q43823294
Write a program in C++ and flowchart. Best Friends Dog Rescue ishosting a Movie Charity Event and needs your help capturing whatpercentage of the night’s sales will be donated to their rescuegroup. The program should calculate total cost for the number ofmovie tickets sold for Adults and Children, as well as Snack Sales.The total combined sales for movie ticket sales and snacks shouldbe 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 ChildMovie Ticket Sales One for Snack Sales Remember to use a “for” loopfor each array You should have totals in $ amount for: Adult MovieTickets sold Children Movie Tickets sold Snack Tickets sold Overalltotals, combining all 3 categories Percentage for the total 3categories – the % amount is your choice; for the program outcomeshown below, 45% was used Hints and Suggestions: You can set yourown movie prices – for example, adult ticket is $15 You can set howmany tickets have been sold in each category – for example, 5 adulttickets sold You can also write the program to ask the user forthis input, but this is not required 5. At the end, it prints outthe total dollar amount spent on sales for Adult Movie Tickets,Children Movie Tickets, and Snack Sales; and then an overall totalspent. The percentage is then calculated, so the Rescue Group knowshow much money they will receive Here is what the output lookslike.
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 captu…
OR