Calculate the total price of the purchases

Assignment Help JAVA Programming
Reference no: EM133166868

Programming Using JavaScript Assignment

Creating a Web-Based Order Form

Using the HTML project, you completed earlier in this course you are required to produce a web page or pages which provide the ability to order products from that company over the web. The web page(s) must be well-formatted and provide pictures (where possible) and details of the products that are available for order, including the price. The user will select which products he/she wants to order and the quantity to order. The total price will then be displayed.

PROMO CODE
The company also offers its customers a 10% discount on the total cost of their purchases with the Promo Code of DISCOUNT10. No discount is given to customers who do not enter the correct Promo Code. A customer is only allowed to be given three chances to enter in the correct Promo Code.

SHIPPING
Orders of $100+ or more will receive FREE DELIVERY. For all orders under $100 a flat rate of $15 delivery fee will be charged for orders.

ADD GIFT BOXING
An option to have all items boxed and wrapped together for $5.00 is also available.

The HTML page must be well-formatted in keeping with a company web page. The JavaScript code can input using prompt boxes. Marks will also be awarded for the use of forms, input boxes and buttons for the selections.

Requirements:

PART A - PSUEDOCODE

(Part A may be handwritten)

Question 1. Write an algorithm in pseudo-code that will:
o Ask a user for the quantity of each item that they wish to purchase
o Ask a user for the promo code with only 3 chances to enter the correct promo code
o Ask the user for gift boxing option.
o Calculate the total price of the purchases which includes shipping.

Question 2. Provide 3 DESK CHECKS to test 3 different scenarios along with test data that adequately checks the algorithms. For example,
o Correct promo code (first time) and order over $100
o Incorrect promo code (3 chances given) and order less than $100
o No promo code and order over $100

Question 3. Submit your algorithms and desk checks in E-College using the link JavaScript Assignment - Part A Algorithms under Assessments.

PART B - PROGRAMMING

Question 4. Using the algorithms you wrote, produce a web page or pages which provide the ability to order products from that company over the web
o The use of Functions is required.
o The JavaScript code should be set out and indented so that it is easy to follow.
o Variable names should be meaningful and adhere to standard coding practices.
o The order form must be easy to use. HTML concepts such as background colour and fonts are to be used.
o At least five articles of varying prices must be available to purchase

Question 5. Submit your algorithms and desk checks in E-College using the link JavaScript Assignment - Part B JavaScript under Assessments.

Question 6. Part A may be resubmitted if errors are detected during the programming process in Part B.

Verified Expert

The assignment is to create a web page yo place order for different products and do the calculations and apply discounts on promocode and apply the gift wrapping charges and find the net payable amount.

Reference no: EM133166868

Questions Cloud

Costs versus benefits of giving google permission : What are the costs versus benefits of giving Google permission to leverage this profile and deliver you personalized ads.
What is the amount they will pay for expenses this year : Joan and Don Norwood have shares valued at $36,000 on December 1. What is the amount they will pay for expenses this year
Explain marketing and business decisions : Do you believe it is possible to make sound marketing and business decisions without using primary research? What advantages does using primary research have ov
Explain the investiment adds value to the business : Critic on whether the investiment adds value to the business. The strategies used Traditional CSR, Strategic CSR or creating value.
Calculate the total price of the purchases : Calculate the total price of the purchases which includes shipping - produce a web page or pages which provide the ability to order products from that company
Examples of business organizations : Directions: In the four boxes below, list down at least 5 examples of business organizations tackled above that are present in your locality.
Covid-19 pill access at risk as pharmacies push : Read the article Covid-19 Pill Access at Risk as Pharmacies Push for Bigger Payments. After reviewing the article, provider your feedback regarding the article.
What is bob ending capital account : During the year, he contributed $10,000, the LLC in total had $100,000 of net income, and he withdrew $45,000. What is Bob's ending Capital Account
Race and citizen identity in classical athenian democracy : 1. Describe how Euripides' tragedy Ion reinforced citizenship identity in 5th cent. BCE Athens.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Design java application that will read file containing data

Design a Java application that will read a file containing data related to the US. Crime statistics from 1994-2013 - What year was the Murder rate the highest

  Create a program that simulates a simple club interface

Create a program that simulates a simple club interface allowing the addition of new members and all the operations outlined above

  Write program that solves problem according to behavior tree

COMP 131 Introduction to Artificial Intelligence Assignment. Write Java program that solves problem according to Behavior Tree

  Website that utilizes drag-and-drop or web sockets

A website that utilizes drag-and-drop or web sockets. Review the website source, and evaluate how the author created the pages

  What is a generic subprogram in java

How do you describe as a type in C++ a pointer to a function that takes two ints as arguments and returns a double. What is a generic subprogram in Java. What are its advantages

  Design java program that calculates and then outputs sum

Design a Java program that calculates and then outputs the sum of all odd and then all even numbers between 0 and 100 separately

  Populate the array elements with random values

Provide the specific Java nested loop you would use to populate the array elements with random values.

  Develop a working program either an authentication system

Develop a working program either an authentication system for the zoo designed to follow the specifications outlined in the overview.

  Create a class that inherits from your pizzaorder class

Create a class that inherits from your PizzaOrder class called SeatedPizzaOrder. SeatedPizzaOrder has the three data values that any PizzaOrder has (size, toppings, and price) but also has a tablenumber.

  Create a java class named headphone

Create a TestHeadPhone class that constructs at least 3 HeadPhone objects. For each of the objects constructed, demonstrate the use of each of the methods.

  Create the working applet to compute tax

Write down a java applet. Your applet assits to find out how much federal tax we require to pay suppose the tax rate is 12%. Create and implement the working applet to compute tax.

  Develop an app using the volley framework

Develop an app using the Volley framework that retrieves JSON data from the NASA website and displays in a listview

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