How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask LogicPro Your Own Question
LogicPro
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 12941
Experience:  Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
29751445
Type Your Programming Question Here...
LogicPro is online now
A new question is answered every 9 seconds

The Chocolate Delights Candy Company needs to add the following

Customer Question

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

When a customer is checking out, the cash register needs to store the required data pertaining to each 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 same index value of 3, when applied to the “pricePerPound” array, would give us the price per pound of that same third item that the customer is buying.

When that last item in the purchase has been saved to the array, an itemized receipt is printed which shows the relevant data (name, price, and amount purchased) of each item, the subtotal price for each 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 needed in order to develop the design documents for an interactive event-driven program to solve the above scenario that includes at least:

Three (3) arrays
One (1) loop
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.
Submitted: 4 years ago.
Category: Programming
Expert:  LogicPro replied 4 years ago.

LogicPro :

Hi

LogicPro :

Welcome to JustAnswer

LogicPro and other Programming Specialists are ready to help you
Expert:  LogicPro replied 4 years ago.


let me know the deadline.
Customer: replied 4 years ago.
I need it today. The paper is due tonight.
Customer: replied 4 years ago.
I saw that you answer thesame question in the past
Expert:  LogicPro replied 4 years ago.
Download vls from here:
candy4.vls

Here is the output:
http://ge.tt/9na3gsI/v/0

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers.
It will ensure that question is for me.

Please bookmark my profile page:
http://www.justanswer.com/computer/expert-logicpro/
so you can come back and ask me a question anytime.
Leave a positive feedback/bonus or ask me if you need more information.

Related Programming Questions