Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A restaurant serves the following menu. The customer chooses only one of the main dishes via a touchscreen provided at the restaurant. The guest is

image text in transcribedimage text in transcribed

A restaurant serves the following menu. The customer chooses only one of the main dishes via a touchscreen provided at the restaurant. The guest is also asked if he would like to have a soft drink with his order. Meal Price Chicken Fajita 125 pounds Beef Fajita 175 pounds Mixed Fajita 150 pounds Shrimps Fajita 200 pounds Soft Drink 15 pounds Finally, the guest specifies if he would like to dine inside the restaurant or take-away the order. If the guest chooses to "dine-in", an extra service charge of (12%) is added to the bill amount; otherwise, no service charge is added. At the end, the program prints the detailed bill amount, as the shown example: Hello, please place your order here: Main Dish: Add Drink? Order Type: Beef Fajita Yes O No Order Price: 190 pounds O Take-away Dine-in Service Charge: 22.8 pounds Confirm Clear Total Amount: 212.8 pounds Given: HTML Input Form (copy and paste it into your editor) Menu

Hello, please place your order here:

Main Dish:
Add Drink?Yes No
Order Type:Take-away Dine-in

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

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions

Question

Explain a typical R interface.

Answered: 1 week ago