Assignment: Fran's Virtual Fruit Stand
Fran's Virtual Fruit Stand is an online store that sells several types of dried fruit. Based on the needs of Fran's Virtual Fruit stand, you must design a flowchart using Visual Logic. The flowchart must also be a fully functional program which follows the design requirements below.
Note: This program does not require the use of arrays. The program will prompt for data on a single item, process that data, display any relevant messages as described below, and then move on to the next item. Use the "console" option in the output command to display the output in a single window. Displaying the output can be accomplished with as few as three (3) variables that simply get overwritten each time the loop repeats.
Using Visual Logic, design a flowchart that is also a fully functional program. According to your design, the program must:
- Continually accept data regarding the purchase of fruit until a sentinel value is entered.
- 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.
- Display a clear message for items that are considered:
- Best-selling items
- Big-ticket items
- High-priced items
- Lowest-selling items
- High-income generating items
- Loop through all of the above steps until the user types the sentinel value when prompted. Display the sentinel value so that the user may ultimately be able to demonstrate an understanding of the way in which to end the program. Note: An acceptable message may read "Type n to end the program.", where "n" is the sentinel value.