Developing design document-interactive event-driven program


Chocolate Delights Candy Company requires to add the following functionality to its cash register:

When the customer is checking out, the cash register requires to store the needed data pertaining to each item the customer is buying. This data includes item name, the price per pound, and the number of pounds of that item being purchased. This must be stored in three (3) arrays (one (1) for the item name, one (1) for price per pound, and one (1) for the number of pounds being purchased) with corresponding index values. Such as, index value 3, when applied to the “itemName” array, will give as the name of the third item that customer is buying. That same index value of 3, when applied to the “pricePerPound” array, will give us the price per pound of that same third item that customer is buying.

When that last item in the purchase has been saved to the array, an itemized receipt is printed that shows the significant 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 data flow diagrams required in order to develop the design documents for an interactive event-driven program to solve the above scenario which includes at least:

1. Three (3) arrays

2. One (1) loop

3. One (1) and / or conditional statement which covers decision making to include true and false parts of an if statement.

Include the code along with the Visual Logic output.

Specific course learning outcomes associated with this assignment are:

• Describe the use and benefits of object-oriented programming and event-driven programming.

• Develop design documents for an interactive event-driven program.

• Use technology and information resources to research issues in computer programming design.

• Write clearly and concisely about computer programming design topics using proper writing mechanics and technical style conventions.

1. It contain a program (like pseudocode), a visual logic diagram (Design a flowchart using Visual Logic) and include a short write-up to describe logic further.

2. You don’t have to use any programming language just the pseudocode.

3. There is no need for chart or diagrams.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Developing design document-interactive event-driven program
Reference No:- TGS01721

Expected delivery within 24 Hours