Question: You are required to create a webpage to implement a program to process data related to pizza orders based on the logic designed for



You are required to create a webpage to implement a program to 

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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

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 full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!