I programmed the script to "apply the tip to the overall cost of the meal including tax" as it describes in the instructions, but it didn't work. I check these forums and someone posted this script which works fine...
meal = 44.5
tax = .0675 * meal
tip = .15 * meal
total_cost = meal + tax + tip
My question is, this script above just adds all three together, it doesn't apply the tip to the cost of the meal plus tax.
Why does this script work when it doesn't do what they asked? Or am I just mixing numbers up somehow?