Jason C. answered 02/15/23
College-level Computer Science student
If you want to just take the price of an item and add .07 tax, I would do the following:
However, if you want to do something reusable, I suggest something like this:
Bryce H.
asked 02/09/23Write a function that takes the price of the item as an argument and return the price calculated with a tax value of .07. The goal here is to convert the tax calculation into a reusable function.
Jason C. answered 02/15/23
College-level Computer Science student
If you want to just take the price of an item and add .07 tax, I would do the following:
However, if you want to do something reusable, I suggest something like this:
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.