Tip Calculator Tutorial

At first we have to set the variable meal equal to 44.50 and the tax for the meal is 6.75%. Then we have to create the variable tax and we have to set it equal to 6.75 divide by 100 we had to get in decimal form.We also need to create the variable tip of 15% in order to do so we need to do the same thing as we did in tax we will get tip=0.15.Again, we need to reassign the variable meal to calculate the total price of the meal,including tax, “meal=meal+meal * tax”. And at last we need to create a variable total=meal+meal*tip.This would give us the total price of the meal ,tax and tip