Tip,Tax, and Total

Purpose: A program that calculates the total amount of a meal purchased at a restaurant. The program will ask the user to enter the charge for the food, and then the program calculate the amount of a 18 percent tip and 7 percent sales tax. The compiled code will then display each of these amounts and the total.


To Compile Code:

  • Toggle Interactive Mode ON
  • Then Click On Execute