Question: For this assignment, write a program that simulates a restaurant order. Write an HTML program that prompts the user for the number of hamburgers, fries

 For this assignment, write a program that simulates a restaurant order.

For this assignment, write a program that simulates a restaurant order. Write an HTML program that prompts the user for the number of hamburgers, fries and milk shakes he/she would like to purchase. When the values are entered, the page should POST this data to a PHP program. Write a PHP program that computes the total cost of this restaurant meal: hamburgers are $2.95 each, fries are $1.95 each, and one milk shake is 85 cents. The sales tax rate is 7.5%, and you left a pre-tax tip of 16% The PHP page should output the final cost of each item, the calculated tax, the calculated tip, and the final cost of the order. Submit all HTML/CSS and PHP source files (Assignment.php) containing your code. Submit three or more HTML files containing the generated HTML (using view source) from your PHP program output (Assignment.html). Execute the program to test all your data. All output should be captured in this file

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!