Question: Write a Web - based application consisting of a Web form ( calc - tax.html ) and a PHP program ( calc - tax.php )

Write a Web-based application consisting of a Web form
(calc-tax.html) and a PHP program (calc-tax.php). The application should:
ask the user for a purchase amount; calculate a reduced purchase amount
based on a 25% discount (this is 0.75 times the purchase amount);
calculate the tax on the reduced amount (7% or 0.07 of the cost);
calculate the total cost; display the reduced purchase amount, tax, and
total cost.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!