Answered step by step
Verified Expert Solution
Question
1 Approved Answer
What would the flowchart look like for this? Best Friends Dog Rescue is hosting a Movie Charity Event and needs your help capturing what percentage
What would the flowchart look like for this?
Best Friends Dog Rescue is hosting a Movie Charity Event and needs your help capturing what percentage of the nights 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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started