Need help in visual Basic

Closed Posted 6 years ago Paid on delivery
Closed Paid on delivery

Fran’s Virtual Fruit Stand, Part 2

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 / 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:

1. 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.

2. 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.

3. 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.

4. Store up to five (5) values in each of the three (3) arrays.

5. 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.

6. Print an itemized receipt with the following data after the last item in the purchase has been saved to the array.

o Item name

o Price per pound of each item

o Number of pounds purchased of each item

o Subtotal price for each item, calculated as price per pound multiplied by the number of pounds

o Total weight of the entire order (in pounds)

o 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.

o Grand total price of all items and shipping

C Programming Java PHP Software Architecture Visual Basic

Project ID: #15856599

About the project

5 proposals Remote project Active 6 years ago

5 freelancers are bidding on average ₹8189 for this job

it2051229

Hello, I went through the requirements and I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.

₹2000 INR in 1 day
(1326 Reviews)
7.7
potenttechno

Hello, please give me detail, I can do it your budget, and give you a perfection on your project let me know if you have any question Thank you

₹7833 INR in 5 days
(6 Reviews)
1.9
stackboy

hey buddy whats up i can do this for you just give me a message we will discuss and finalize it and start the work soon

₹11111 INR in 10 days
(3 Reviews)
1.7
andinfini

Hello, Hope you are well, With 9 years experience in VBA programming and macros for excel as well as VB application development, I can help you whatever you need for this software or any other office suite softwa More

₹7777 INR in 10 days
(1 Review)
0.0