Demonstrate the use of algorithms and pseudocoding

Assignment Help Visual Basic Programming
Reference no: EM132116684

Assignment: Virtual Store

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:

Include a header or an output which shows: "Welcome to XXXX Shop". Note: XXXX is your first and last name.

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.

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.

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.

Store up to six (6) values in each of the three (3) arrays.

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.

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.

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.

Design and write programs using the appropriate data structure and fundamental programming constructs for a given problem.

Select and describe relational comparison operators, AND / OR logic and their precedence for a given problem.

Describe the use of arrays and subscripts, and the steps involved in declaring, initializing, loading, and searching arrays.

Develop design documents for an interactive event-driven program.

Reference no: EM132116684

Questions Cloud

Why might the map strategy be against the social interest : Gadgets for Sale ... or Not How come the prices of some gadgets, like the iPod, are the same no matter where you shop? No, the answer isn't that Apple illegally
What is the probability of 3 parts being defective : In a random sample of 5 parts on an assembly line, the probability that won of the parts is defect is 15% and follows a binomial distribution.
What are the strategies of rogers and bell in the market : What are the strategies of Rogers, Telus, and Bell in the market for cellphone service? Why did they not raise their prices in Manitoba and Saskatchewan?
Determine the approximate percentage appreciation : Determine the approximate percentage appreciation or depreciation of the NASDAQ Composite,
Demonstrate the use of algorithms and pseudocoding : Demonstrate the use of algorithms and pseudocoding to the problem-solving process - Distinguish among the basic types, steps, and properties of programming
What are the strategies and the payoffs : Boeing and Airbus Predict Asian Sales Surge Airlines in the Asia-Pacific region are emerging as the biggest customers for aircraft-makers Boeing and Airbus.
What is the probability that they will receive a bonus : The construction team will receive a bonus if the job is completed is less than 75 days. What is the probability that they will receive a bonus?
Identify an organization and include the reasoning : QSO 600 : Consider factors such as risk. Additionally, consider how this organization compares to different companies within the same industry.
Low bidding company : The roads recently paved by low bidding company revealed an average of two defects per mile after being used for one year

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms". This assignment will contain two (2) Parts: Written Paper and Visual Basic Prototype. The Visual Basic Prototype is not included in the total page count but is included in the e..

  Visual basic programming discussion

The use of decision logic is one of the major concepts of computer programming. The decision takes your code from being sequential to one that can take various options based on the different conditions. Determine the method of coding that you would u..

  Ticketseller

Use Visual basic 2010Visual Basic,  TicketSeller. This assignment will contain two (2) Parts: Event Planning Document and Coding phase. You must submit both parts as separate files for the completion of this assignment. Remember, you are only to de..

  Data storage & "exception error trapping"

Discussion on Data Storage and  "Exception Error Trapping".

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms".

  The implementation of server side of the application

Implementation of dynamic content, server side (backend) and database for your web site using Microsoft Visual Studio 2012

  Need help building a vwd website

Need help building a VWD website. This website may not go live. I have little progress as a family tragedy has impeded my time for school.

  To develop a visual basic console application

The aim of the assessment is to develop a Visual Basic console application that performs a number of mathematical functions. The mathematics package will be menu driven, i.e. a number of options will be displayed, and the user will be able to input w..

  Program in basic which prompts user to input two integers

Write down the program by using Small Basic which prompts the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum).

  Develop vb-net application that includes arrays and loops

Develop a VB.NET application that includes arrays, loops, and IF statements to do the following. Your output must also display the number of applicant(s) being interviewed.

  Visual basic program to accept numeral values

Write a VISUAL BASIC program to accept numeral values of any unit, sum up the total, calculate the average, and then Output the result with a proper unit.

  Write a visual logic program to accept series of number

Write a Visual Logic program which accepts a series of numbers, until the first negative value is entered. The maximum number of non-negative input values is 250.

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