You are required to create a webpage to implement a program to process data related to...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You are required to create a webpage to implement a program to process data related to pizza orders based on the logic designed for the previous assignment's flowchart and pseudocode. The webpage will include JavaScript code in order to calculate Total Price, Sales Tax, Final Cost. Tip and Contactless information will be required for Delivery transactions. You will also follow a sequence of inputs and outputs in your program. The original rules about the logic required are listed below: A family pizza restaurant wishes to update their Point of Sales system and needs a flowchart and pseudocode for their new algorithm. The rules used to process the orders are listed below: • Two options are available for purchase. o In store purchases: . . . $15.00 per pie $0.50 per topping (per pie- assume all pies will have the same toppings) o Delivery purchase: . . $15.00 per pie $0.50 per topping (per pie - assume all pies will have the same toppings) $3.00 delivery fee (Pre-tax) Fountain Drinks are also offered at $2 per cup in store only. This is optional. Outputs: A Delivery Tip may be added for delivery only. This is optional and is added after tax. Contactless Delivery may be selected for deliveries. Yes or no must be selected. Inputs: . Purchase Type: Text - Store or Delivery Number of Pies: Numerical Number of Toppings: Numerical Number of Fountain Drinks: Numerical • Delivery Tip option: Yes or No Delivery Tip Amount: Numerical Contactless Delivery: Yes or No • Total purchase price (pre-tax). Sales Tax amount to be added to the bill (7% rounded up to the nearest cent). Final Cost of the bill (including the tax). • • Contactless Delivery SAMPLE TRACES THROUGH THE CORRECT ALGORITHM Inputs: Purchase Type Numbers of Pies Number of Toppings Number of Fountain Drinks Delivery Tip Option Delivery Tip Amount Contactless Delivery Option Outputs: Total Price Sales Tax Tip Final Cost Contactless Delivery Sample 1 Store 1 1 1 $17.50 $1.23 $18.73 Sample 2 Delivery 2 1 Yes 5 Yes $34.00 $2.38 $5.00 $41.38 Yes Sample 3 Delivery 1 0 No No $18.00 $1.26 $0.00 $19.26 No Activate Windows Go to Settings to activate Windows You are required to create a webpage to implement a program to process data related to pizza orders based on the logic designed for the previous assignment's flowchart and pseudocode. The webpage will include JavaScript code in order to calculate Total Price, Sales Tax, Final Cost. Tip and Contactless information will be required for Delivery transactions. You will also follow a sequence of inputs and outputs in your program. The original rules about the logic required are listed below: A family pizza restaurant wishes to update their Point of Sales system and needs a flowchart and pseudocode for their new algorithm. The rules used to process the orders are listed below: • Two options are available for purchase. o In store purchases: . . . $15.00 per pie $0.50 per topping (per pie- assume all pies will have the same toppings) o Delivery purchase: . . $15.00 per pie $0.50 per topping (per pie - assume all pies will have the same toppings) $3.00 delivery fee (Pre-tax) Fountain Drinks are also offered at $2 per cup in store only. This is optional. Outputs: A Delivery Tip may be added for delivery only. This is optional and is added after tax. Contactless Delivery may be selected for deliveries. Yes or no must be selected. Inputs: . Purchase Type: Text - Store or Delivery Number of Pies: Numerical Number of Toppings: Numerical Number of Fountain Drinks: Numerical • Delivery Tip option: Yes or No Delivery Tip Amount: Numerical Contactless Delivery: Yes or No • Total purchase price (pre-tax). Sales Tax amount to be added to the bill (7% rounded up to the nearest cent). Final Cost of the bill (including the tax). • • Contactless Delivery SAMPLE TRACES THROUGH THE CORRECT ALGORITHM Inputs: Purchase Type Numbers of Pies Number of Toppings Number of Fountain Drinks Delivery Tip Option Delivery Tip Amount Contactless Delivery Option Outputs: Total Price Sales Tax Tip Final Cost Contactless Delivery Sample 1 Store 1 1 1 $17.50 $1.23 $18.73 Sample 2 Delivery 2 1 Yes 5 Yes $34.00 $2.38 $5.00 $41.38 Yes Sample 3 Delivery 1 0 No No $18.00 $1.26 $0.00 $19.26 No Activate Windows Go to Settings to activate Windows
Expert Answer:
Answer rating: 100% (QA)
To create a webpage that implements the program to process pizza orders based on the provided rules you can use HTML for the structure CSS for styling ... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
You have identified an actively managed mutual fund with the following characteristics: alpha of 0.50%, beta of 1.3, and standard deviation of 16%. The expected excess return on the S&P500 is 7% and...
-
You are required to write a Python program that will manage character (heroes and villain) information. Character (hero and villain) information will be stored in a text file that will be read in...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Financial accounting is found when draw up financial statements used as a end of term form of accounting like when a person gets their bank statement or balance sheets. Managerial accounting is more...
-
a. Propose a mechanism for the following reaction (show all curved arrows): b. Which step is the rate-determining step? c. What is the electrophile in the first step? d. What is the nucleophile in...
-
Bob and Lygia are going to play a series of Trivial Pursuit games. The first person to win four games will be declared the winner. Suppose that outcomes of successive games are independent and that...
-
Which of the following inventory control methods is most likely to be used for a product like lumber (1 x 2s, 2 x 4s, etc.) a. JIT c. MRP b. EOQ d. ABC
-
For the following diagram, compute the rate of return on the $3810 investment. 500 500 500 500 250 250 250 810
-
One Product Corporation (OPC) incorporated at the beginning of last year. The balances on its post-closing trial balance prepared on December 31, at the end of its first year of operations, were:...
-
Ayayai Hotels Ltd. (AHL) is a small boutique hotel that provides 44 suites that can be rented by the day, week, or month. Food service is available through room service as well. In addition, there...
-
Give a detailed company background of KIND (www.kindsnacks.com) with references cited.
-
What is capital investment analysis? Why are capital investment analysis decisions often difficult and risky? answer in 4 or less sentances if possible
-
Your firm, based in Los Angeles, CA, manufactures copper wires for use in consumer electronics.It mines the copper that it uses in its products (i.e. it does not have to purchase the copper).It sells...
-
The journal entry to issue a promissory note for a company lending $9,000 for one year at an annual interest rate of 6% would be:
-
How do macroevolutionary processes, such as extinction events, adaptive radiations, and mass migrations, shape patterns of biodiversity over geological timescales, and what are the implications of...
-
Suppose that the zero-coupon bond price associated with 4-years is 0.80, that is to say D4=0.80. What is the yield of this zero-coupon bond, y4?
-
4. (8 marks) The inverse market demand and market supply for whiskey are as follows (P is in dollars per liter and Q is in millions of liters): PD-30 QDps 2 Q a. Find the equilibrium price and...
-
To help you become familiar with the accounting standards, this case is designed to take you to the FASBs Web site and have you access various publications. Access the FASBs Web site at...
-
Russell (age 50) and Linda (age 45) Long have brought you the following information regarding their income and expenses for the current year. Russell owns and operates a landscaping business called...
-
Frank, age 35, and Joyce, age 34, are married and file a joint income tax return for 2012. Their salaries for the year total $83,000 and they have taxable interest income of $4,000. They have no...
-
Carl Conch and Mary Duval are married and file a joint return. They live at 1234 Mallory Sq. Apt. 64, Key West, FL 33040. Carl works for the Key Lime Pie Company and Mary is a homemaker after losing...
-
Burger King announced it would phase abused chicken out of its supply chain by 2024. The new standards include the requiring of higher-welfare strains of chickens, a reduction in the stocking density...
-
Ilectronics Inc. makes high-quality speakers for a variety of applications. Electronics Inc. is a St. Louis-based company but has significant manufacturing operations in China. When manufacturing...
-
Sony ('orp). launched its PlayStation 4 in late 2013. It was introduced at a price point of \(\$ 399\). At the time of introduction, a technology firm performed a tear-down of the PlayStation and...
Study smarter with the SolutionInn App