159k views
4 votes
L7 Assignment: Tip and Tax We will put together some of the thing we learned. This program is about paying a bill in a restaurant. It is not the same as the one in the book. Be sure to use appropriate variable names, comments, prompts, and labels. Continued on the next slide: 1. Input the total without tip or tax. We will call this the meal price. 2. Calculate the tax as 8.25% of the meal price. 3. Add the meal price to the tax. This is called the subtotal. 4. Calculate the tip as 15% of the subtotal. 5. Add the tip to the subtotal. This is called the grand total. 6. Output the tax, the subtotal, the tip, and the grand total

1 Answer

6 votes

Answer:

use the system 9+9+9 and so on

Step-by-step explanation:

User Surfi
by
5.3k points