...

/

Exercise 1: Calculate the Tax

Exercise 1: Calculate the Tax

Test your function implementation and rest parameter skills.

Problem statement

An amountAfterTaxes() function returns the total amount after all the taxes are applied. Let’s implement that function so the output for each call in the next code shows up as expected.

Function

...