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

  What opportunities enabled team to accomplish its goals

What motivational theories do you think could have been used to encourage the team to be more successful? What specific rewards or opportunities would have enabled the team to accomplish its goals? Why?

  Hidden implementations are often said

Hidden implementations are often said to exist in a black box. Do you agree with this statement? Why or why not? Identify the advantages and disadvantages of using this approach in both programming and real life?

  Related to web services

A review paper usually should include multiple (about 5) references. I would like to see references from referred conference proceedings or journals.

  Investigation-woman having inappropriate files on computer

Young woman who was fired from her job for inappropriate files discovered on computer, and she swears she never accessed files. What questions must you ask and how should you proceed?

  Write an expression that divides distance

Given two integer variables distance and speed , write an expression that divides distance by speed using floating point arithmetic, i.e. a fractional result should be produced.

  Assume the sequence numbers are properly sized

What suggestions would you make to your colleague to fix the protocol? Assume the sequence numbers are properly sized.

  interlocking words on a Scrabble board

The board game Scrabble works by assigning points to wooden tiles that are marked with printed letters, and are arranged as interlocking words on a Scrabble board.

  Write a class name payroll

Before asking the user for the hours, the program should set the pay rate for each employee without user input. Validation: Do not accept values greater than 60 for the number of hours worked.

  Which two technological factors limit the realism

Remixing songs has become popular as a result of the emergence of digital audio technology. Explain why these two trends are related.

  Write a circletype class

diameter and circumference Set c1's radius to 4 Display c1's radius, area, diameter and circumference Execute c1 = c1 + c2 Display c1's radius, area, diameter and circumference Display c2's radius, area, diameter and circumference.

  Explain findings after conducting search for .cde files

You work for mid-sized corporation known for its inventions which does a lot of copyright and patent work. Explain your findings after conducting Internet search for .cde files.

  Write a program that prompts the user for an integer value

write a program that prompts the user for an integer value for a length of a youtube clip in seconds then display the number of hours , minutes and seconds within the given length.

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