use and benefits of object-oriented programming, Computer Engineering

Assignment Help:

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

When a customer is checking out, the cash register requires keeping the needed data pertaining to every 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 similar index value of 3, when applied to the "pricePerPound" array, would give us the price per pound of that similar third item that the customer is buying.
When that previous item in the purchase has been kept to the array, an itemized receipt is printed which demonstrates the relevant data (name, price, and amount purchased) of every item, the subtotal price for every 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 required 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.
The 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.

 


Related Discussions:- use and benefits of object-oriented programming

Illustrate does gas have density, Q. Illustrate does gas have density? ...

Q. Illustrate does gas have density? Answer:- Gas in addition to everything in the universe has density though some densities are not either too high or too low to be dete

How to create a layout table in dreamweaver, Q. How to Create a Layout Tabl...

Q. How to Create a Layout Table in dreamweaver? In last section you used cells to create a table. Now, you will see how to start with a table and add cells later. 1.  In Obj

Explain opening files for reading only in c, Opening Files for Reading Only...

Opening Files for Reading Only     : A data file is a file that you can open and read its contents visually - for example, C source files, .dat files, HTML etc - anything that look

Constant current sources, Constant Current Sources An ideal constant c...

Constant Current Sources An ideal constant current source delivers a given current to a circuit regardless of the voltage required to do so. . Constant current supplies are r

Elements of composition, The Elements of composition are the formal languag...

The Elements of composition are the formal language used to communicate in the visual arts. The elements of composition can be loosely broken into 5 main elements, Line, shape, val

Neural architectures, Neural architectures are appealing as mechanisms for...

Neural architectures are appealing as mechanisms for implementing intelligence for a number of reasons. Traditional AI programs tend to be brittle and overly sensitive to noise

For what CIDR stands, CIDR stands for? CIDR stands here for Classless I...

CIDR stands for? CIDR stands here for Classless Inter Domain Routing.

Simple assembly programs, Data Transfer Two most fundamental data trans...

Data Transfer Two most fundamental data transfer instructions in 8086 microprocessor are XCHG and MOV. Let's give illustrations of the use of these instructions. Program 1:

Computer Graphics , What do you mean by ‘Bresenham’s him Algorithm?

What do you mean by ‘Bresenham’s him Algorithm?

Define minterm and the maxterm - canonical form, Define Minterm and the Max...

Define Minterm and the Maxterm - Canonical Form? Any Boolean expression perhaps expressed in terms of either minterms or maxterms. The literal is a single variable within a t

Write Your Message!

Captcha
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