Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Fred R. McFadden, Jeffrey Slater, Mary B. Prescott

5th Edition

0805360549, 978-0805360547

Students also viewed these Databases questions