Tip Calculator

Tip Calculator

Description:

A python program to demonstrate total cost including tip for meal.

Code:

meal = 44.50

tax = 0.0675
tip = 0.15

meal = meal + meal * tax
total = meal + meal * tip

print(“%.2f” % total)

Capture

Leave a Reply

Your email address will not be published. Required fields are marked *