Frans fruit world | Computer Science homework help
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
- Best-selling items