Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write c++ program to order food at western restaurant and display order list for all set of food. Below is the detail of food menu

Write c++ program to order food at western restaurant and display order list for all set of food. Below is the detail of food menu and price.

Code

Set of food

List of food

Price (RM)

A

Family Package

Cheezy grill chicken (special promo )

RM50.00

B

Spaghetti

Bolognese, carbonara, auglio olio

RM26.70

C

Cream Soup

Mushroom soup

RM4.90

D

Toasted Bread

Kaya, peanut butter, garlic bread

RM10.40

E

Salad

Mix salad, seafood salad

RM15.80

F

Meal Set

Sausage, nugget

RM10.00

G

Finger food

French fries, chicken nugget

RM11.80

Examples output :

Enter code : A

Set of Food -Family Packages

List of Food -Cheezy grill chicken special promo

Price - RM50.00

Also write ctt program to display tables code and number of members for all 12 customers.

Number of seat

Customer name

Code

5

Ali

1

8

Abu

2

10

Ahmad

3

6

Azlan

4

6

Ryan

5

7

Yassin

6

2

Iffah

7

3

Aishah

8

4

Emelda

9

6

Ros

10

Examples output:

Enter customer name : Iffah

Enter number of members : 2

codes of table - 7

Number of seat 2

Write c++ program to display output of receipt payment for all customer at Suraya Western Restaurant

Customer name

Quantity of members

Food order

Total amount

Ali

5

Family Package

RM50.00

Abu

8

Spaghetti

RM71.20

Ahmad

10

Cream Soup

RM49.00

Azlan

6

Sandwich

RM38.40

Ryan

6

Toasted Bread

RM21.00

Yassin

7

Salad

RM55.30

Iffah

1

Meal Set

RM10.00

Aishah

3

Finger food

RM17.70

Emelda

4

Toasted Bread

RM14.00

Ros

6

Salad

RM47.40

Examples output:

Enter customer name : Iffah

Enter quantity of members : 1

Enter food order : Meal set

Suraya Western Restaurant

Customer name quantity of members food order Total amount

Write ctt program to display list of food with price

code

List of food

Price

A

Cheezy grill chicken (special promo )

RM8.50

B

Bolognese, carbonara, auglio olio

RM 9.60

C

Mushroom soup

RM4.90

D

Kaya, peanut butter, garlic bread

RM3.50

E

Mix salad, seafood salad

RM5.80

F

Sausage, nugget

RM5.00

G

French fries, chicken nugget

RM5.00

Examples output:

Enter food code : A, B, C

Cheezy grill chicken (special promo ) RM8.50

Bolognese, carbonara, auglio olio RM 9.60

Mushroom soup RM4.90

then combine all codes in one ctt program

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2019 Wurzburg Germany September 16 20 2019 Proceedings Part 2 Lnai 11907

Authors: Ulf Brefeld ,Elisa Fromont ,Andreas Hotho ,Arno Knobbe ,Marloes Maathuis ,Celine Robardet

1st Edition

3030461467, 978-3030461461

More Books

Students also viewed these Databases questions

Question

Describe the seven standard parts of a letter.

Answered: 1 week ago

Question

Explain how to develop effective Internet-based messages.

Answered: 1 week ago

Question

Identify the advantages and disadvantages of written messages.

Answered: 1 week ago