Omework Assignment Lesson 8 Homework Assignment Lesson 8 A Tip Calculator Objective Develop A Program In C Using A 1 (40.35 KiB) Viewed 32 times
Omework Assignment Lesson 8 Homework Assignment Lesson 8 A Tip Calculator Objective Develop A Program In C Using A 2 (40.35 KiB) Viewed 32 times
omework Assignment - Lesson 8 Homework Assignment -Lesson 8 A Tip Calculator Objective: Develop a program in C++ using a loop. Assignment: 1) Consider the following computer programming problem. We wish to write a program that helps a restaurant patron calculate a tip for a meal. A food/drink subtotal is entered, then a 6.25% tax is computed Tax, as well as several tips (based on the food/drink subtotal only) are displayed a tip of 5% (poor service), 10% (below average service), 15% (average service). 20% (better than average service) and 25% (superior service) along with total owed. There is also a header and footer. After a run, the program stops Notes: Use a constant for the tax rate. You must use a loop. Type is up to you. You must show currency formatting-dollar sign, dollars and cents for all money amounts Show tip percentages as percentages when displaying them. *First prompt shows just a S at the end of the string the user types in dollars and cents. 2) Write up an IPO chart for this problem. 3) Desk-check your solution, to and sample run so you can see what the prompts and output needs to look like. Match it Use your calculator to check other
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!