Tip Calculator meal = 44.50 tax = 0.0675 tip = 0.15 meal = meal + meal * tax total = meal + meal * tip The meal is equal to itself plus itself times the tax and the total is equal to the meal plus itslef times the tip