Asked by Jane

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

Answers

Answered by MathMate
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.
Answered by Anonymous
ghyuj
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions