Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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.

 

Computer Engineering, Engineering

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

Have any Question?


Related Questions in Computer Engineering

Draw supply and demand curve to illustrate the following

Draw supply and demand curve to illustrate the following sequences of events. Show changes in one graph. Assume upward sloping for supply curves and downward sloping for demand curves 1. In year 1, the rental apartment m ...

Question suppose you want to manage a small project but you

Question : Suppose you want to manage a small project, but you don't have access to project management software. Could you use a spreadsheet or database program instead? How?

Suppose a consumer is trying to make a choice over the

Suppose a consumer is trying to make a choice over the consumption of two goods: x and y. Px = 3, Py = 4 and the income is equal to 50. Assume that the government distributes some stamps that are good to buy 5 units of g ...

A recent study reported that the prevalence of

A recent study reported that the prevalence of hyperlipidemia is 30% in children 2 to 6 years of age. If 12 children are analyzed what is the probability that at least 3 are hyperlipidemic?

Question suppose you want to store the following

Question : Suppose you want to store the following information: Student_id Course Mark 111 Maths 78 111 Physics 90 222 Biology 89 333 Physics 60 333 Chemistry 75 1.a Is this table in first normal form? Why or Why Not? 1. ...

The following few machines are given informal

The following few machines are given informal descriptions. Decide whether they are of CISC or of RISC design, and provide a short description of why. a) Machine A has over 300 instructions, many of which are executed at ...

What is the purpose of exclusive gates such as the xor and

What is the purpose of exclusive gates such as the XOR and XNOR? What function do these gates perform?

If material hardness is normally distributed with a mean of

If material hardness is normally distributed with a mean of 42 and a standard deviation of 1. Specification limits for hardness are from 35 to 45. When the fraction defective is 0.0017 what is the corresponding PPM?

Reduce nfa to dfaconsider the transition table for nfa

Reduce NFA to DFA Consider the transition table for NFA N: 1.Draw a transition graph for machine N. Consider using JFLAP unless you have another tool you know for the problem. (I guess by hand will do, but that is so nin ...

Serializationdesign a verilog module to convert a 64-bit

Serialization Design a Verilog module to convert a 64-bit data signal with periodic timing (eight-cycle period) into a series of eight-bit signals with periodic timing (one-cycle period). You must store the input data, a ...

  • 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

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As