Improve functionality of online shopping cart

Assignment Help Web Project
Reference no: EM13802974

Assignment: Fran's Virtual Fruit Stand

Use the concepts and scenario to help Fran's Virtual Fruit Stand 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 per pound, and the number of pounds of that item 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. Continually accept data regarding the purchase of fruit as specified below until the user enters a sentinel value, or until five (5) items are entered, whichever comes first.
  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. Store the required data in three (3) arrays (e.g., one (1) for the item name, one (1) for the price per pound, and one (1) for the number of pounds 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 "pricePerPound" array, would give us the price per pound of that same third item that the customer is buying.
  4. Store up to five (5) values in each of the three (3) arrays.
  5. 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 five (5) items.
  6. 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 pound of each item
    • Number of pounds purchased of each item
    • 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 weight of the entire order, calculated as 50 cents per pound. Note: For example, if the entire order weighs seven (7) pounds, the cost of shipping would be $3.50.
    • Grand total price of all items and shipping.

Reference no: EM13802974

Questions Cloud

Analyze the ethical issues involved in social media use : Analyze the ethical issues involved in social media use and how to address them. The analysis should include the following: Security concerns, such as identity theft.
State one reason why they need an isp : State one advantage of using a wireless connection compared to a cables connection. They now decide to connect their three compers to the internet. State one reason why they need an ISP
Write paper on a reflection on great books in liberal arts : Write a paper about A Reflection on The Great Books in Liberal Arts.
Monochromic and polychronic time systems : Explain the differences between monochromic and polychronic time systems. Use some examples to illustrate their differences and the role of time in intercultural communication.
Improve functionality of online shopping cart : Use the concepts and scenario to help Fran's Virtual Fruit Stand 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
Write a paper about diabetes in the us : Write a paper about Diabetes in the US.
Case study on international business : International Business
Importance of relationship-building in different countries : Discuss the stages in the negotiation process and how culturally-based value systems influence these stages. Specifically, address the following: Explain the role and relative importance of relationship-building in different countries.
Exchanging task-related information : Discuss the various styles and tactics that can be involved in exchanging task- related information. Describe differences in culturally- based styles of persuasion.

Reviews

Write a Review

Web Project Questions & Answers

  Implementing relational database management system

Jim and Tim are brothers who have a love of robots. They started a house based business called 'RoboBoys' where they custom create robots for fun, gifts, competition and decoration.

  Discussion of the project research activity

Maintain a journal of the activities and research that you have engaged in in the completion of this assignment.

  Critique an enterprise website of your own choice

You should describe the information you have identified first and then critique on them. You should give reasons and evidences for your opinions and illustrate important examples with screenshots.

  Describes how files are organized on a website

Find an article that describes how files are organized on a website. What are two best practices regarding web file management that you learned from the article. How can you apply this knowledge to your personal or professional life? Cite the sour..

  Explain how you will evaluate the performance of new site

Discuss the support operations that the internally hosted Website will require after implementation. Explain how you will evaluate the performance of the new site and the success of your project

  How architectural and protocol changes occur

Discuss how architectural and protocol changes happen, the administrative organization that oversees the technical development of the Internet,

  Describe the steps you have taken to maintain and redesign

Describe the steps you have taken to maintain and redesign your site(basic website beginner). How is the process that you followed similar to or different from how sites are maintained and redesigned in the professional environment

  Computer program stored on world wide web server

Identify a small computer program stored on a World Wide Web server that is designed to run in conjunction with browser software called?

  How does the website url relate to the business name

How well does the website address legal issues associated with use of the website or engagement in transactions?

  Time taken to get website page with embedded images

Assume you click on a link within your browser to get a Web page. The IP address for the associated URL is not cached in your local host, so a DNS look up is required to obtain the IP address.

  Create a new web application and create a jsp

Create a new Web application. Next, create a JSP that displays a form when the doGet method is invoked. The form will contain a post action that directs the form post back to the same JSP, which in the doPost method will save the form data to a da..

  The influence of web-based information on global citizenship

Assess the authors' use of bias, validity, and applicability of information. Examine the influence of web-based information on global citizenship and multicultural understanding. Then, compile a list of three factors you believe should be consider..

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