- Home >
- Programming >
- Fran's Virtual Fruit Stand Part 1
Fran's Virtual Fruit Stand Part 1
Question Description
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
Note: Best-selling items are identified as those that sell 5,000 or more pounds per month on average. For example, an acceptable message may read, “Yellow raisins are a best-selling item.” - Big-ticket items
Note: Big-ticket items are identified as those that are best-selling items and also cost $4 per pound or more. For example, an acceptable message may read, “Freeze-dried blueberries are a big-ticket item.” - High-priced items
Note:High-priced items are identified as those that sell for $7 per pound or more. For example, an acceptable message may read, “Dried mangos are a high-priced item.” - Lowest-selling items
Note: Lowest-selling items are identified as those that sell 500 pounds or less per month on average. For example, an acceptable message may read, “Dried Ugli Fruit is a lowest-selling item.” - High-income generating items
Note: High-income generating items are identified as those that generate $7,000 or more per month on average. To determine the income generated per item, multiply the price per pound by the number of pounds sold per month. If the item generates $7,000 or more per month, an acceptable message may read, “Dried pineapple chunks are a high-income generating item.”
- Best-selling 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.
Your Visual Logic program must follow these formatting requirements:
- Be accomplished in a single Visual Logic program.
- Be submitted as a single file with the “.vls” file extension.
- Be fully functional in order to receive full credit.
This question has not been answered.
Create a free account to get help with this and any other question!
Similar Content
Cat on a Hot Tin Roof
by Tennessee Williams
The Fault in Our Stars
by John Green
All the Kings Men
by Robert Penn Warren
Extreme Ownership - How US Navy SEALs Lead and Win
by Jocko Willink and Leif Babin
Flowers For Algernon
by Alice Walker
Little Women
by Louisa May Alcott
Othello
by Wiliam Shakespeare
Sula
by Toni Morrison
A Farewell To Arms
by Ernest Hemingway
Studypool values your privacy. Only questions posted as Public are visible on our website.
Brown University
1271 Tutors
California Institute of Technology
2131 Tutors
Carnegie Mellon University
982 Tutors
Columbia University
1256 Tutors
Dartmouth University
2113 Tutors
Emory University
2279 Tutors
Harvard University
599 Tutors
Massachusetts Institute of Technology
2319 Tutors
New York University
1645 Tutors
Notre Dam University
1911 Tutors
Oklahoma University
2122 Tutors
Pennsylvania State University
932 Tutors
Princeton University
1211 Tutors
Stanford University
983 Tutors
University of California
1282 Tutors
Oxford University
123 Tutors
Yale University
2325 Tutors