Assignment 2: Franâ??s Virtual Fruit Stand, Part 2Due Week 9 and worth 190 pointsUse the concepts and scenario from Assignment 1 to help Franâ??s Virtual Fruit Stand increase the functionality of its online shopping cart. When a customer checks out, the shopping cart must store the required data pertaining to each item the customer is buying. Your job is to design a program that will prompt the user for the required data and then store it. The required data includes the item name, the price per pound, and the number of pounds of that item being purchased. When complete, your program should include three (3) arrays, two (2) loops, one (1) and / or conditional statement, and one (1) variable.Using Visual Logic, design a flowchart that is also a fully functional program to add functionality to the online shopping cart. According to your design, the program must:Continually accept data regarding the purchase of fruit as specified below until the user enters a sentinel value, or until five (5) items are entered, whichever comes first.Prompt the user for each item and accept the name of the fruit (e.g., â??dried applesâ?), the price per pound, and the number of pounds sold in a month.Store the required data in three (3) arrays (e.g., 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. Note: For example, index value 3, when applied to the â??itemNameâ? array, would give us 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.Store up to five (5) values in each of the three (3) arrays.Provide functionality in which the user ends the program by typing a sentinel value, and the program tells the user what the sentinel value is. Note: An acceptable message may read â??Type n to end the program.â?, where â??nâ? is the sentinel value. If the user does not end the program in this way, then the program ends when it has collected the data for five (5) items.Print an itemized receipt with the following data after the last item in the purchase has been saved to the array.Item namePrice per pound of each itemNumber of pounds purchased of each itemSubtotal price for each item, calculated as price per pound multiplied by the number of poundsTotal weight of the entire order (in pounds)The cost of shipping which is based on the total weight of the entire order, calculated as 50 cents per pound. Note: For example, if the entire order weighs seven (7) pounds, the cost of shipping would be $3.50.Grand total price of all items and shipping.Note: Use the â??consoleâ? option in the output command to accomplish this task. An example of an acceptable output has been provided below:Week 9 Assignment 2 Table
Unformatted Attachment Preview
Purchase answer to see full
Why Work with Us
Top Quality and Well-Researched Papers
Professional and Experienced Academic Writers
Free Unlimited Revisions
Prompt Delivery and 100% Money-Back-Guarantee
Original & Confidential
24/7 Customer Support
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Admission Essays & Business Writing Help