Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please include both PHP and HTML codes In the second exercise, you will create an order form for user to fill in. You PHP script
please include both PHP and HTML codes
In the second exercise, you will create an order form for user to fill in. You PHP script will process the order form and then compute how to charge user Ex-2 Create an html such as the following which will ask the user to enter an order form. It will calculate the total based on the business logic Total Quantity * Unit-price-Discount Shipping cost This amount will then be used to calculate tax. The final result after plus tax will be divided by the number of payments entered by user The business logic for shipping handling cost is calculated as follows S5.00 for Slow and steady... $9.95 for Put a move on it S19.36 for I need it yesterday Fill out this form to calculate the total cost Price: 100 Quantity: 20 Discount: 12 Tax: 8 Shipping method: Slow and steady Number of payments to make: 1 You have selected to purchase: 20 widget(s) at S100 price each plus a Slow and steadyS5.00 shipping cost anda 8 percent tax rate After your $12 discount, the total cost is $2152.44 Divided over 1 monthly payments, that would be $2152.44 each. Calculatel [(100*20-12+5) *1.08]/1 [1993 *1.08]/1- 2152.44 Fill out this form to calculate the total cost: Price 100 Quantity: 20 Discount: 12 Tax: 8 Shipping method: I need it Number of payments to You have selected to purchase: 20 widget(s) at S100 price each plus a S19.36 shipping cost and a 8 percent tax rate. After your $12 discount, the total cost is $2167.9488 Divided over 2 monthly payments, that would be $1083.9744 each. make: 2 Calculatel [(100 20-12+19.36) 1.08 ]/2-[2007.36 1.08]/2-(2167.9488]/2 1083.9744Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started