Design a flowchart that is also a fully functional program

Assignment Help Data Structure & Algorithms
Reference no: EM131299616

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

1. Continually accept data regarding the purchase of fruit until a sentinel value is entered.

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. Display a clear message for items that are considered:

a. 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."

b. 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."

c. 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."

d. 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."

e. 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."

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

The specific course learning outcomes associated with this assignment are:

• Demonstrate the use of algorithms and pseudocoding to the problem-solving process.
• Distinguish among the basic types, steps, and properties of programming.
• Apply the techniques of functional decomposition, modularization techniques, and debugging strategies into program design.
• Describe the features and fundamental data structures of programming design.
• Select and create the appropriate conditional and iteration constructs for a given programming task.

Reference no: EM131299616

Questions Cloud

What is the velocity of money : 1. What is the "velocity of money"? Why is it important to the macro-economy? 2. Why would some households with increases in "household wealth" continue to consume at their prior household level even given household wealth increases? How would..
Identify strengths and weaknesses of these areas : A telephone survey has been conducted to identify strengths and weaknesses of these areas and to find out how they fit into the shopping activities of local residents.
How about one of your favorite brands : Pick up a current issue of a popular magazine. Which print ad do you feel is the best, and which ad do you feel is the worst based on the criteria described in this chapter?
New production factory in bulgaria to produce : Nestlé builds a new production factory in Bulgaria to produce Kit Kat chocolate bars (Kit Kat bars are produced by Nestlé in 17 different countries)
Design a flowchart that is also a fully functional program : 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.
Determine the initial cost of this utensil washing machine : Provide the extracts of statement of financial position and the statement of profit or loss and other comprehensive income for the assets of XYZ for the period ended 31 Dec 2014 - Provide the extracts of statement of financial position and the sta..
Eurozone reduces its money supply : The Lithuanian lita is currently pegged to the euro. Suppose that the Eurozone reduces its money supply. Using the IS-LM-FX model, illustrate and explain how this affects Y, I, C, I, M, and TB in Lithuania (Home).
What is citibanks net foreign exchange bought : What is Citibank's net foreign assets?- What is Citibank's net foreign exchange bought?- What is Citibank's net foreign exposure?
Evaluate how it leverages secondary associations : Pick a brand. Evaluate how it leverages secondary associations. Can you think of any ways that the brand could more effectively leverage secondary brand associations?

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Calculate worst-case run-time complexity of algorithm

Calculate the worst-case run-time complexity of your algorithm and prove optimality of the solution it gives. Suppose that the road is a straight line with a western end and an eastern end.

  Bubble sort and quick sort in ascending order

Quick sort in ascending order, with partition choosing pivot in the middle of the sub-array.

  Suppose n gt 1 is a natural number and f z rarrn upsilon 0

suppose n gt 1 is a natural number and f z rarrn upsilon 0 is the function that associates with each a epsilon z its

  Question about designing a database

As we start designing a database for implementation should we use the latest and greatest technology? Does the user need a flat-file or object-oriented database?

  Discuss why it is necessary to balance binary search trees

Discuss why it is necessary to balance Binary Search Trees (BSTs). Calculate the Average Comparison Effort (ACE) value of the BST.

  Algorithm for locating nth successor in circlar linked list

Write algorithm or code segment for locating nth successor of an item in circlar linked list (the nth item that follows the given item in the list).

  Conduct space complexity analysis of the algorithm

conduct time complexity analysis of the algorithm (and also mention best case and worst case analysis if applicable).

  Write a program to load an array

Write a program to load an array

  What is global or per process page replacement algorithms

What is better global or per process page replacement algorithms?

  Order statistic tree to count number of inversions in array

Demonstrate how to use an order-statistic tree to count the number of inversions in an array of size n in time O(n lg n).

  Lines of action- explain how you will use a search tree to

lines of action- explain how you will use a search tree to find the solutionbullabstractbullintroductionbullrelated

  Flow chart of converting for hex

Flow chart of converting for Hex

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd