[SOLVED] Application that calculates the total price of a purchase, including sales tax for the three states where we do business

15.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon purchase.zip (0.8 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (2 votes)
Your requirement is to build an application that calculates the total price of a purchase, including sales tax for the three states where we do business. The sales tax is different, depending on what state the customer is from. Washington: 8.1% Idaho: 6.0% Oregon: 0.0%

The HTML form should request input of which of the the three state IDs (WA, ID, OR) the purchaser is from.

The HTML form should request input of the original purchase amount

The PHP code should Use an IF statement to convert the state codes into the sales tax amount Calculate the tax, and add it to the purchase Print out the purchase, the tax, and the total Provide a way to return to the HTML page

  • purchase.zip