Functionality of online shopping cart

Assignment Help Business Management
Reference no: EM132115291

Use the concepts and scenario from Assignment 1 to help "Your" Virtual Business to increase the functionality of its online shopping cart. When a customer checks out, the shopping cart must store the required data pertaining to each item the customer is buying. Your job is to design a program that will prompt the user for the required data and then store it. The required data includes the item name, the price of each item, and the number of items being purchased. When complete, your program should include three (3) arrays, two (2) loops, one (1) and / or conditional statement, and one (1) variable.

Using Visual Logic, design a flowchart that is also a fully functional program to add functionality to the online shopping cart. According to your design, the program must:

  1. Include a header or an output which shows: "Welcome to XXXX Shop". Note: XXXX is your first and last name.
  2. Continually accept data regarding the purchase of fruit as specified below until the user enters a sentinel value, or until six (6) items are entered, whichever comes first.
  3. 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.
  4. Store the required data in three (3) arrays (e.g., one (1) for the item name, one (1) for the price per item, and one (1) for the number of items being purchased) with corresponding index values. Note: For example, index value 3, when applied to the "itemName" array, would give us the name of the third item that the customer is buying. That same index value of 3, when applied to the "pricePerItem" array, would give us the price per item of that same third item that the customer is buying.
  5. Store up to six (6) values in each of the three (3) arrays.
  6. Provide functionality in which the user ends the program by typing a sentinel value, and the program tells the user what the sentinel value is. Note: An acceptable message may read "Type n to end the program.", where "n" is the sentinel value. If the user does not end the program in this way, then the program ends when it has collected the data for six (6) items.
  7. Print an itemized receipt with the following data after the last item in the purchase has been saved to the array.
    • Item name
    • Price per item
    • Quantity of items purchased
    • Subtotal price for each item, calculated as price per pound multiplied by the number of pounds
    • Total weight of the entire order (in pounds)
    • The cost of shipping which is based on the total number of items, calculated as 40 cents per item. Note: For example, if the customer purchased four (4) items, the cost of shipping would be (.40 * 4 = $1.60).
    • Grand total price of all items and shipping.

Note: Use the "console" option in the output command to accomplish this task. An example of an acceptable output has been provided below:

Item name

Price per pound

Number of pounds

Subtotal

Light Bulbs

$4

3

$12

Towels

$3

5

$15

Total
Shipping


8

$27
$3.20

Grand Total



$30.20

Your assignment must follow these formatting requirements:

  • Include the code as a fully functional Visual Logic Program with the .vls extension.
  • Submit the assignment files (Visual Logic Program and Screenshot) as a packaged .zip file.

Reference no: EM132115291

Questions Cloud

Purchase the motors for the appliance from a vendor : A firm plans to begin production of a new small appliance. The manager has three options:
Describe the regulatory environment of the firm : Choose a company from Fortune 500 list and perform a comprehensive analysis of the company's external environment. Make sure you address the following.
Compare and critique one published quantitative study : Compare, and critique one published quantitative study and one published qualitative study in a global context regarding the variables that affect employees'
What is the role of reason in philosophy : What is an argument? How does it differ from a quarrel or shouting match? Explain the difference in at least a papargraph. Be sure to use examples.
Functionality of online shopping cart : Use the concepts and scenario from Assignment 1 to help "Your" Virtual Business to increase the functionality of its online shopping cart.
Statement of risk pooling effect is not true : Which of the following statement of risk pooling effect is NOT true
Impact on the news vendor quantity : Which of the following does NOT have an impact on the news vendor quantity?
Present an argument that you could deliver to a school board : Present an argument that you could deliver to a school board or college that explains why the creation of art, music, dance, sporting activity .
Calculate cost per cost driver for each of the cost pools : In your readings this module, you were introduced to Activity-Based Costing or ABC. It is a method used to determine a reliable predetermined benchmark.

Reviews

Write a Review

Business Management Questions & Answers

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

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