Question: Write the Flowchart for the following programming problem and the pseudocode below. A restaurant wants you to write a program that will calculate the cost

Write the Flowchart for the following programming problem and the pseudocode below.

A restaurant wants you to write a program that will calculate the cost of purchasing a meal. This program will include decisions and loops. Details of the program are as follows:

Your menu items only include the following food with accompanied price:

Yum Yum Burger = .99

Grease Yum Fries = .79

Soda Yum = 1.09

Allow the user of the program to purchase any quantity of these items on one order.

Allow the user of the program to purchase one or more types of these items on one order.

After the order is placed, calculate total and add a 6% sales tax.

Print to the screen a receipt showing the total purchase price.

Your sample output might look as follows:

Enter 1 for Yum Yum Burger Enter 2 for Grease Yum Fries Enter 3 for Soda Yum Enter now ->1 Enter the number of burgers you want 3 Do you want to end your order? (Enter yes or no): no Enter 1 for Yum Yum Burger Enter 2 for Grease Yum Fries Enter 3 for Soda Yum Enter now ->3 Enter the number of sodas you want 2 Do you want to end your order? (Enter yes or no): no Enter 1 for Yum Yum Burger Enter 2 for Grease Yum Fries Enter 3 for Soda Yum Enter now ->1 Enter the number of burgers you want 1 Do you want to end your order? (Enter yes or no): no Enter 1 for Yum Yum Burger Enter 2 for Grease Yum Fries

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!