Advertisement
Guest User

Untitled

a guest
Jul 30th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. Meal_Price=float(raw_input("Enter the price of the meal"))
  2. Tax=Meal_Price * 0.08875 #New York City goods and and services tax is 8.875%
  3. Tip=(Tax + Meal_Price) * (float(raw_input("Enter your desired tip in decimal form.")))
  4. print "Tax"
  5. print Tax
  6. print "Tip"
  7. print Tip
  8. print "Total"
  9. print Meal_Price + Tax + Tip
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement