On the "What good are functions" example, it shows the 8% tax being written out as 1.08, as far as I know, that's not correct, 8% it literally 8 cents on the dollar, therefore shouldn't it be .08, same thing with the tip, 15% is shown written out as 1.15, shouldn't this be written out as .15?
yes, but you want to add the tax to the total of the bill, otherwise you would only pay the tax or tip (so the
1 is the 100% of the bill before tax and tip)
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.