Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Computer Engineering Expert

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 find outd 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.

• prepare 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 prepare-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.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91721

Have any Question? 


Related Questions in Computer Engineering

Consider a complex signal composed of a dc term and two

Consider a complex signal composed of a dc term and two complex exponentials Plot each N-point DFT as a function of frequency fk = k/N. (a) Compute and plot the DFT of x[n] using 20 samples (0 ≤ n ≤ 19). From the plot, c ...

1 write a program that can read an indefinite number of

1. Write a program that can read an indefinite number of lines of VB.NET code and store reserved words in one linked list and identifiers and literals in another linked list. When the program is finished reading input, d ...

Implement the first text-formatting design proposed try to

Implement the first text-formatting design proposed. Try to avoid the need for shifting word fragments after the current line is printed.

1 find at least two new coin denominations that make the

1. Find at least two new coin denominations that make the greedy algorithm for coin changing shown in the chapter produce suboptimal results. 2. Using a "commercial" compression program, such as WinZip, compress a small ...

Compare the attributes used by the darnall-preston

Compare the attributes used by the Darnall-Preston Complexity Index and those used by Youker. Which attributes are used in both typologies? Which attributes are not in common? If you chose to add one attribute to either ...

Assignment1 we want to sort arpjmew into ascending ordera

Assignment 1. We want to sort (A,R,P,J,M,E,W) into ascending order. A) How many comparisons are there if we use BUBBLESORT Algorithm? B) Using the MergeSort Algorithm, How many times the function merge (11,12) will be in ...

Imagine a peer-to-peer network where 1000 users want to

Imagine a peer-to-peer network where 1000 users want to communicate in an authenticated and confidential way without a central Trusted Third Party (TTP). ] 1. How many keys are collectively needed, if symmetric algorithm ...

In order to estimate the cost of painting a house a painter

In order to estimate the cost of painting a house, a painter needs to know the surface area of the exterior. Develop an algorithm for computing that value. Your inputs are the width, length, and height of the house, the ...

1 implement the sub method for the polynomial class

1. Implement the sub method for the Polynomial class implemented in the chapter. 2. The implementation of the Polynomial mul method is O(n 2 ) in the worst case. Design and implement a more efficient solution for this op ...

Write a function that converts a phrase into pig latin a

Write a function that converts a phrase into pig Latin. A word is converted to pig Latin by removing the first character of the word, placing it at the back of the word, and adding the characters "ay" to the word. For ex ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen