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

  Implementing ajax programming

In the AJAX scripts construct, refer to the DSN datasource as flamingo. Even though its not in your own folder or directory, it has been set up as SYSTEM DSN, so your AJAX script will have access to it.

  What do you mean by query tree what is meant by the

question 1 how does a query tree represent a relational algebra expression?question 2 what is query tree? what is meant

  Prepare a currency conversion design

currency conversion design pseudocodeprogram pseudocodestart main moduledeclare option 0declare value 0declare

  Sql statements

Suppose that the tables T1 and T2 have a 1:1 relationship. Suppose that T2 has the foreign key. Demonstrate the SQL statements necessary to move the foreign key to T1.

  B+-tree

For the B+-tree where M=3 and L=5 shown below, show how an insert of value 80 is handled.

  Explain the sorting techniques selection sort

Explain the following sorting techniques using appropriate algorithms- (i) selection sort (ii) bubble sort

  Design algorithm determining annual profit for company

Your goal is to solve the following simple programming exercise. You have been asked by your accounting department to design an algorithm determining the annual profit for your company.

  Design a program flowchart

Design a program flowchart that asks the user to enter three integers and the programs finds and displays the minimum and the maximum of these three integers. Please use "click chart" to draw the flowchart of your design

  Design a class that has an array of floating-point numbers

Design a class that has an array of floating-point numbers. The constructor should accept an integer argument and dynamically allocate the array to hold that many numbers.

  Complete the step process for designing dimensional models

Complete the step process for designing dimensional models for each process you identify and create a dimensional model (star schema) for each process you identify Align

  Perform a radix sort

Perform a radix sort, using a decimal basis (that is sorting into 10 buckets, ordered 0 to 9) on the given list:

  Determine the benefits of data mining to the businesses

Determine the benefits of data mining to the businesses when employing - Predictive analytics to understand the behavior of customers

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