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 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
How many Junior Reserve Officer Training Corps units are across the Contintal United States, Alaska, Hawaii, Guam, Italy, Japan and Spain? I'll accept answers within 10%.
Aug 11 2021Jones Enterprises was started when it acquired $6,000 cash from creditors and $10,000 from owners. The company immediately purchased land that cost $12,000. Required a. R...
Apr 18 2020Please answer all the questions Determine if the demand curve will increase (shift right) or decrease (shift left) for the specified good given the event that happened. A...
Jun 06 2020P.J. is trying to decide how much to consume in time periods 1 and 2, (c, c2). He will get $100 in period 1 and $100 in period 2 . He can save and borrow as much as he wa...
May 18 2020Carla has been directed by her regional marketing manager to cut prices on seasonal items, place an ad in the local paper, and tell distributors to reduce deliveries for ...
Dec 14 2019Briefly explain the differences between transactions banking and relationship banking.
May 26 2020Briefly describe the expected changes in own wage elasticity as workers become progressively more skilled and why you might expect to see these changes. HTML Editor Keybo...
Aug 22 2021Q1. How Target Corporation, will evaluate market segments and choose the best ones to serve? How will it create value propositions to meet the requirements of target cust...
Jun 13 2021Precision Engineers Ltd. Is considering a proposal to replace one of itsmachines. The following data is available regarding the same:a. The machine was purchased 4 years ...
May 30 2020Which of the following regions has a Mediterranean climate and is derived from temperate deciduous forests? (A) North America's taiga (B) Tropical rainforests (C) N...
Mar 21 2018