Calculate a tip based on the cost of the meal and the percent you want to tip.