Create the data flow diagrams needed

Assignment Help Basic Computer Science
Reference no: EM13219968

The Chocolate Delights Candy Company needs to add the following functionality to its cash register: When a customer is checking out, the cash register needs to store the required data pertaining to each item the customer is buying. This data includes the item name, the price per pound, and the number of pounds of that item being purchased. This should be stored in three (3) arrays (one (1) for the item name, one (1) for the price per pound, and one (1) for the number of pounds being purchased) with corresponding index values. For example, index value 3, when applied to the "itemName" array, would give as the name of the third item that the customer is buying. That same index value of 3, when applied to the " pricePerPound" array, would give us the price per pound of that same third item that the customer is buying. When that last item in the purchase has been saved to the array, an itemized receipt is printed which shows the relevant data (name, price, and amount purchased) of each item, the subtotal price for each item (which is calculated as price per pound times the number of pounds), and the grand total purchase amount of all items. Use Visual Logic to create the data flow diagrams needed in order to develop the design documents for an interactive event-driven program to solve the above scenario that includes at least: 1.Three (3) arrays 2.One (1) loop 3.One (1) and / or conditional statement that covers decision making to include true and false parts of an if statement. Include the code along with the Visual Logic output.

Reference no: EM13219968

Questions Cloud

Give the economic intuition of the results on consumption : the price level and the money supply over the business cycle both in terms of correlation, magnitude and lead vs lag. Give the economic intuition of the results on consumption, investment, productivity, wages and price levels.
Explain what is the molar concentration of this solution : a molal concentration of 6.25 m has a density of 1.300 g/mL. What is the molar concentration of this solution?
Write an assembly program using marie : Write an assembly program using MARIE to receive an input in decimal that represents the number of numbers in a list. Then input a list of numbers one by one, display the number of numbers in the list as well as the numbers one by one, and find th..
Find the competitive equilibrium prices and consumptions : An economy has 2,000 people. 1,000 of them have utility functions U(x, y) = x + y and 1,000 of them have utility functions U(x, y) = min{ 2x, y}. Everybody has an initial allocation of 1 unit of x and 1 unit of y. Find the competitive equilibrium ..
Create the data flow diagrams needed : The Chocolate Delights Candy Company needs to add the following functionality to its cash register: When a customer is checking out, the cash register needs to store the required data pertaining to each item the customer is buying.
Calculate the momentum of a water molecule : Compute the momentum of a water molecule at normal conditions, assuming its kinetic energy
What is the set of pareto optimal allocations : Amaranda and Bartolo consume only two goods, X and Y. They can trade only with each other and there is no production. The total endowment of good X equals the total endowment of good Y.
Mixture equal to the sum of the volumes of the ingredients : Suppose you have made 1L worth of a mixture of methanol and water, by mixing 3 parts of methanol and 2 parts of water by mass. Assume for simplicity that the volume of the mixture is exactly equal to the sum of the volumes of the ingredients (whic..
What are two backup freeware : What are two backup freeware, shareware or commercially available backup programs and compare them and the default Windows backup program to explain the pros and cons of the three programs.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Internet, internet, intranet

Define the terms internet, Internet, intranet and extranet, highlighting the similarities and differences between them.

  Based on the severity of a patient''s illness or injuries.

A triage software system that allows doctors to designate the order in which patients should be treated, based on the severity of a patient's illness or injuries.

  Sketch the input and output timing waveforms

For a 3-to-8 decoder with high outputs and an active high enable line (EN): a) List the truth table: b) write the boolean equations: c) sketch the input and output timing waveforms for all input combinations.

  Create an application that generates a quiz

Create an application that generates a quiz. Prompt for the user's first and last name, college major, and confidence in test taking (high, medium, or low). The quiz should contain at least five true/false questions about horticulture.

  Write a unix command to display

Write a Unix command to display, byte by byte, the contents of the file named datafile. Make sure that for each byte the character and its numerical representation are displayed.

  Describe tttc management significance of observing user

Using at least two articles for support, describe to TTTC management the significance of observing user reaction, suggestions, and innovations in prototyoping process.

  Computer program that inputs a degree

Write a computer program that inputs a degree of difficulty and seven judges' scores, and outputs the overall score for that dive. The program should ensure that all inputs are within the allowable data ranges

  Function whose job is to output some sequence

Write a function whose job is to output some sequence of "interesting" #'s. The numbers should be separated from one another somehow so they don't all run together. This function may need to call another function, where the second function determines..

  Decision to maintain the website in-house or outsource it

You also have financial consideration to take into account. If hosting is outsourced, the cost is fixed. Write down the advantage of keeping it in house?

  Creating presentation to law school class on digital crime

You have been asked to present a presentation to law school class on digital crime. After presentation, a student asks why so few people are really prosecuted for computer crime.

  Write two distinct fuction prototypes for a function

Write two DISTINCT fuction prototypes for a function that accepts three values and return three values calculated within a function to the calling function.

  Address three components represented in cell

Assume that a security model is needed for protection of information in your class. Write a brief statement on how you would address the three components represented in that cell.

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