A customer is in a store to purchase 3 items. Write a program which asks for the
Fantastic news! We've Found the answer you've been seeking!
Question:
- A customer is in a store to purchase 3 items. Write a program which asks for the price of each item, uses 5.5% for sales tax, then displays:
- the subtotal of the sale
- the total amount of tax to be collected
- the total amount the customer must pay
- A family is dining out at a kid-friendly restaurant. Write a program which asks the user to enter the total cost of food and drink, then calculates the total bill including an appropriate tip and a 6.5% sales tax rate. Display the subtotal, the tip, the tax, and the total amount of the bill.
Helpful Hint: When you are running your program using the console, it will automatically close when the program completes. Often times, this means you never get to see your output statements because the console closes right away. When you are trying to debug - or trying to make a useful application for your clients - this is really, really annoying. A simple way to keep the console open is to end your applications with something similar toprint(input(' Hit Enter to Close '))
Posted Date: