Due Week 9 and worth 190 points Use 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 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: Use the “console” option in the output command to accomplish this task. An example of an acceptable output has been provided below: Purchase the answer to view it Purchase the answer to view it Purchase the answer to view it

The task at hand is to design a program that will enhance the functionality of Fran’s Virtual Fruit Stand’s online shopping cart. Specifically, when a customer checks out, the program should 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.

To accomplish this, the program should include three arrays, two loops, one decision structure, and one variable. The program will prompt the user for the necessary data and store it in the appropriate arrays. The arrays will store the item names, the prices per pound, and the quantities of each item being purchased.

The first array, let’s call it itemNames[], will store the names of the items. Each item name will be prompted and stored in a loop until the user indicates they have finished entering items. The loop will ensure that the program repeatedly prompts for item names until the user indicates they are done.

The second array, let’s call it pricesPerPound[], will store the prices per pound of each item. Similar to the itemNames[] array, the program will prompt the user for the price per pound of each item and store it in the pricesPerPound[] array within a loop.

The third array, let’s call it quantities[], will store the quantities of each item being purchased. Again, the program will prompt the user for the quantity of each item and store it in the quantities[] array using a loop.

Once the user has entered all the necessary data for each item, the program will calculate the total cost of the items being purchased. This can be done using a loop to iterate through each item in the arrays and multiply the price per pound by the quantity of each item.

Finally, the program will output the total cost of the items being purchased using the “console” option in the output command.

In summary, the program design includes prompts for the item names, the prices per pound, and the quantities of each item. These values are stored in arrays. A loop is used to calculate the total cost of the items, and the program outputs the result using the “console” option.

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Click Here to Make an Order Click Here to Hire a Writer