In the given function calculateTax
, the variable tax
is calculated as subtotal * .0825
, and then tax
is returned by the function.
So, the answer to what will be returned when you call calculateTax(subtotal)
is tax
. This will be a numeric value representing the calculated tax based on the subtotal passed to the function.
Thus, the correct response is:
tax