Fran virtual fruit stand

Assignment Help Basic Computer Science
Reference no: EM131299747

Assignment 1: Fran's Virtual Fruit Stand, Part 1

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:

  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:
    1. Best-selling itemsNote: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."
    2. Big-ticket itemsNote: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."
    3. High-priced itemsNote: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."
    4. Lowest-selling itemsNote: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."
    5. High-income generating itemsNote: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.

Reference no: EM131299747

Questions Cloud

Write the equations for the d-flipflop : Given the following sequence(0,10,11,6,1,3,14,5,13,12,2,9,8,7,15,4), write the equations for the D-Flipflop A, D-Flipflop B, D-Flipflop C, and D-Flipflop D. The states are designated as ABCD, where A is the most significant and D is the least sig..
Discuss the presenter’s ethics by not telling the full story : Discuss the presenter's ethics by not telling the full story. Keep in mind that what the presenter says is true, but does not reveal the whole truth.
Construct the tables of descriptive statistics : Using the electronic resources, compile the required data for the 75 countries in an Excel spreadsheet (each row should represent a country and each column should contain the data for one variable). Read the compiled data into Stata, and construct ..
What would be the impact on total fund balance : ACC 410 week 3 quiz 2 - Why would a government be more likely than a not-for-profit organization to integrate its budget into its accounting system and what would be the impact on total fund balance for Year 2?
Fran 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 fo..
What elements comprise their capital structure : Using the annual financial statements and other research, explain the stock structure of Ford Motors Company. What elements comprise their capital structure?
Optimize performance analyzing traffic : Most network IDS tools are designed to optimize performance analyzing traffic using a variety of protocols specific to TCP/IP wired networks. Describe at least two intrusion detection scenarios where specialized types of monitoring and analysis ar..
Calculate the best case and worst case npv figures : Suppose the projections given for price, quantity, variable costs, and fixed costs are all accurate to within ±10 percent. Calculate the best-case and worst-case NPV figures.
Provide a brief description of 3 cikrs that exist : Provide a brief description of 3 CIKRs that exist within your community. Select one CIKR and identify what private entities/stakeholders are responsible for it's protection.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  New website system for a publishing company

You are a systems analyst and you are tasked to build a new website system for a publishing company. You have a solid experience is with traditional data and process modeling techniques.

  What are search methods

What are search methods? Do you feel search methods are relevant to topics in artificial intelligence ? If yes, please explain why and how. Specifically, describe how search methods would be used for rule-based systems, expert systems, resolu..

  Create the entity-relationship diagram erd

Create the entity-relationship diagram ERD

  Int countrypopulation

The following variable has already been defined: int countryPopulation = 1344130000; Using that variable (do not type the large number) along with text, finish the print statement to print the following: China's population was 1344130000 in 2011.

  Will ipsec and nat work in each of the following cases

What if we use PAT (Port Address Translation), also known as Network Address/Port Translation (NAPT) in NAT, where in addition to IP addresses, port numbers will be translated to share one IP address from outside the private networ?

  What is the range of the reference voltage

What is the range of the reference voltage?

  True or false on computer science

True or False 1. If a computer uses hardwired control, the microprogram determines the instruction set for the machine.

  Create a Online shopping program

Please use comments throughout the program Point  has to be taken into consideration: Object-oriented programming Inheritance, encapsulation, and polymorphism

  Design the control with multiplexers

The state diagram of a control unit is shown in Fig. P8-10. It has four states and two in-puts. x and y. (a) Draw the equivalent ASM chart, leaving the state boxes empty. (b) Design the control with multiplexers.

  Total amount of interest paid based upon amortization table

Find (a) the payment necessary to amortize the loan and (b) the total payments and the total amount of interest paid based on the calculated quarterly payments. Then create an amortization table to find (c) the total payments and total amount of i..

  Create a high-level state machine for a simple data

Be sure to explicitly handlc all possible combinations of die three input bits

  Write a program that generates a random integer

Write a program that generates a random integer in the (inclusive) range [0-9] (i.e. the set {0,1,2,3,4,5,6,7,8,9}) and ask the user to guess what the number is .

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