Start with a pseudocode:
Display prompt for food charge
Ch <-input charge
Tip <- Ch*0.15
Tax <- Ch*0.07
Display Ch
Display Tip
Display Tax
Display Ch+Tip+Tax
The next step is to code in Python.
Each line above may or may not correspond to one line of Python code.
Language - PYTHON
Design a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food, and then calculate the amount of a 15% tip and 7% sales tax. Display each of these amounts and the total.
Please help, I have no idea where to begin. Thanks
2 answers
ghyuj