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

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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