Ask Question, Ask an Expert


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 what is a hash function and what can it be used for2 why

1. What is a hash function, and what can it be used for? 2. Why is it important to exchange keys out of band in symmetric encryption? 3. What is the fundamental difference between symmetric and asymmetric encryption?

Assignment1must be a 200-300 word responsesupporting

Assignment 1.) Must be a 200-300 word response Supporting Activity: Version Control Concerns Discuss the concerns of trying to maintain multiple baselines of your system. For example, Microsoft in 2015 announced they wou ...

Q1 analysis of algorithms for each expression in the len

Q1. Analysis of algorithms: For each expression in the leN column, give the best matching description from the right column. ______N 3 ______1 + 2 + 3 + 4 + 5 + : : : + N                                         A. 1/2N 2 ...

Daisyworld model some abms are used not as models of

Daisyworld model Some ABMs are used not as models of real-world events, but rather as thought experiments. Run the Daisyworld model (found in the Biology section of the NetLogo models library). This model defines a world ...

The use of the student file reader adt makes it easy to

The use of the Student File Reader ADT makes it easy to extract student records from a text file no matter the format used to store the data. Implement a new version of the ADT to extract the data from a text file in whi ...

Database design consider the following supply chain

Database design . Consider the following Supply Chain information system description. The system should support a collaborative supply chain composed of suppliers, manufacturers, shippers, and end customers. Items of dif ...

Write a program that generates 10000 random integers in the

Write a program that generates 10,000 random integers in the range of 0-9 and stores them in a binary search tree. Using one of the algorithms discussed in this chapter, display a list of each of the integers and the num ...

Describe two types of variables or methods that can be used

Describe two types of variables or methods that can be used to exchange data between web pages and give example code of both types.

Study the power of the mobile cloud through cloud mobile

Study the Power of the Mobile Cloud Through Cloud Mobile Hybrid Application Development Rapid advances and marriage between computing and telecommunication technologies have created an ubiquitous landscape of powerful sm ...

1 what is the optimal block size for a miss latency of

1. What is the optimal block size for a miss latency of 20×B cycles? 2. What is the optimal block size for a miss latency of 24+B cycles? 3. For constant miss latency, what is the optimal block size? 4. In this exercise, ...

  • 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

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

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