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

Colleagues within the it industry

You will create a PowerPoint presentation to address the question below. Your PowerPoint presentation should be between 11-12 slides, and developed as if you are presenting

How many hits does this address sequence exhibit

Simulate a random replacement policy by flipping a coin. For example, "heads means to evict the first block in a set and "tails" means to evict the second block in a set. Ho

Choose your own adventure

Use java to write a program that allows the user to play a "Choose Your Own Adventure" game.  In this game the user will be prompted with making decisions, which will then lea

What are the expected cell counts

If the drug is not effective, then every patient is equally likely to contract the disease. In that case, if 7 patients out of 20 contract the disease, what is the probabili

Business and management scenario

Create a 7- to 10-slide presentation. Include videos, audio, photos, diagrams, or graphs as appropriate. Include substantial speaker notes, or insert audio narration into yo

Explain the development of health insurance

In a two to three page paper, explain the development of health insurance in the United States. Include a brief discussion as to the current state of both traditional health

Challenges of securing information

Create a 7-10-slide PowerPoint Presentation on the challenges of securing information, and list some of today's information security attacks. You may use various sources (sc

Calculate the net heat transfer to the panel

To reduce the heat transfer to this panel, a radiation shield of the same diameter D and an emissivity of 0.05 is placed very close to the panel. Calculate the net heat tran

Reviews

Write a Review

 
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