Answered step by step
Verified Expert Solution
Link Copied!

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.

  1. You must use three different arrays - These are, in effect, parallel arrays:
    1. One for Adult Movie Ticket Sales
    2. One for Child Movie Ticket Sales
    3. One for Snack Sales
  2. Remember to use a "for" loop for each array
  3. You should have totals in $ amount for:
    1. Adult Movie Tickets sold
    2. Children Movie Tickets sold
    3. Snack Tickets sold
    4. Overall totals, combining all 3 categories
    5. Percentage for the total 3 categories the % amount is your choice; for the program outcome shown below, 45% was used
  4. Hints and Suggestions:
    1. You can set your own movie prices for example, adult ticket is $15
    2. You can set how many tickets have been sold in each category for example, 5 adult tickets sold
      1. You can also write the program to ask the user for this input, but this is not required
  5. 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data Fundamentals Concepts, Drivers & Techniques

Authors: Thomas Erl, Wajid Khattak, Paul Buhler

1st Edition

0134291204, 9780134291208

More Books

Students also viewed these Databases questions