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

1 why is it important to use a structured systematic method

1. Why is it important to use a structured, systematic method for designing networks? What problems can occur if such methods are not used? 2. Compare and contrast the top-down network design method shown in Figure 1-1 w ...

1 what is an infinite loop on your computer how can you

1. What is an infinite loop? On your computer, how can you terminate a program that executes an infinite loop? 2. Give three strategies for implementing the following "loop and a half": Use a Boolean variable, a break st ...

The sieve of eratosthenes is an elegant algorithm for

The Sieve of Eratosthenes is an elegant algorithm for finding all of the prime numbers up to some limit n. The basic idea is to first create a list of numbers from 2 to n. The first number is removed from the list, and a ...

Question 11 what is the difference between linear and

Question 1 1. What is the difference between linear and non-linear accident models? Why are non-linear accident models not used more often in workplace accident investigations? Your response must be at least 75 words in ...

1 how many 16-byte cache blocks are needed to store all

1. How many 16-byte cache blocks are needed to store all 32-bit matrix elements being referenced? 2. References to which variables exhibit temporal locality? 3. References to which variables exhibit spatial locality? 4. ...

1 compare the medium of a wired lan with that of a wireless

1. Compare the medium of a wired LAN with that of a wireless LAN in today's communication environment. 2. Explain why the MAC protocol is more important in wireless LANs than in wired LANs. 3. Explain why there is more a ...

1 using the frequency sampling method design a linear phase

1. Using the frequency sampling method, design a linear phase highpass FIR filter with cutoff frequency Ω c = π/3 and L h = 15. Show an efficient block diagram realization of the filter. 2. Using the frequency sampling m ...

Write a graphics program that draws 12 strings one each for

Write a graphics program that draws 12 strings, one each for the 12 standard colors, besides Color.WHITE, each in its own color. Provide a class ColorNameViewer and a class ColorNameComponent.

1 when a party makes a local telephone call to another

1. When a party makes a local telephone call to another party, is this a point-to point or multipoint connection? Explain the answer. 2. Compare the telephone network and the Internet. What are the similarities? What are ...

1 using the implementation of the ipaddresses class

1. Using the implementation of the IPAddresses class developed in this chapter, write a method that displays the IP addresses stored in the class in ascending order. Use the method in a program. 2. Write a program that s ...

  • 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