# algothithm for calculating totals at a restaurant

Your goal is to solve the following simple logic exercise. You have been contracted by a local restaurant to design an algorithm determining the total meal charges. The algorithm should ask the user for the total food purchase and the tip percent. Then, the algorithm will calculate the amount of a tip, a 7% sales tax, and the total meal charge (including tip). The food purchase, sales tax, tip amount, and total meal charge will need to be displayed to the customer.

Be sure to THINK through the logic, then develop the IPO Chart using a Microsoft Word table. Develop the flow chart using Microsoft VISIO. Then write the pseudocode in Microsoft Word. The IPO table and the pseudocode may be included in one MS Word document

https://brainmass.com/computer-science/pseudocode/algorithm-calculating-totals-restaurant-491079

#### Solution Preview

Dear Student, attached is a word document containing the IPO, flowchart and the pseudo code.

Thank you for using Brainmass.com and good luck!

Assignment:

Your goal is to solve the following simple logic exercise. You have been contracted by a local restaurant to design an algorithm determining the total meal charges. The algorithm should ask the user for the total food purchase and the tip percent. Then, the algorithm will calculate the ...

#### Solution Summary

An algorithm for calculating totals at a restaurants are examined.