Write program and flowchart

Assignment Help Basic Computer Science
Reference no: EM132396213

Write a program and a flowchart.

The program should calculate the total cost for the number of movie tickets sold for Adults, Children, and Students; and then calculating the total of combined sales for all 3 categories.

Then, it asks for customer numbers and sales by customer. In the end, it prints out the customer number, the customer sales, and then the total sales and average sales.

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 Student Movie Ticket 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. Student Movie Tickets sold

4. Overall totals, combining all 3 categories

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

3. You can also write the program to ask the user for this input, but this is not required

At the end, it prints out the total dollar amount spent on sales for Adult Movie Tickets, Children Movie Tickets, and Student Movie Tickets; and then an overall total spent.

Attachment:- calculate the total cost for the number of movie tickets.rar

Reference no: EM132396213

Questions Cloud

Many historical events are part of the evolution in data : Many historical events are part of the evolution in data. What inventor and creation from that inventor,
Tobacco industry manipulation of research : Read the article Tobacco Industry Manipulation of Research, Recommendations for solutions that minimize or eliminate the controversy
What are business impact analysis policies : Who makes up an incident response team (IRT)? What are business impact analysis (BIA) policies?
How would you go about determining accuracy : How would you ensure the highest level of accuracy with your simulation, and how would you go about determining accuracy?
Write program and flowchart : Calculate total cost for number of movie tickets sold for Adults, Children and Students and then calculating total of combined sales for all 3 categories.
Identify individual elements of cybersecurity risk : Identify individual elements of cybersecurity risk. Describe how the organization incorporates privacy principles in relation to data collection, disclosure,
Essay discussing sqlmap-automated tool for sql injection : Essay discussing sqlmap, an automated tool for sql injection and database takeover in 500 words or more. Why do we need an automated tool for sql injection?
Software development policies in terms of security : Outline some of the software development policies in terms of security and discuss how it could be implemented in an organization.
Python program that asks the user to enter integer : Write a Python program that asks the user to enter an integer (X), then. Computes and prints the factors of that integer X.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd