Post a New Question


posted by .

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

  • Programming -

    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.

  • Programming -


Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

More Related Questions

Post a New Question