A programmer has written a subprogram named calculateTax to determine the amount of tax due on a purchase.
calculateTax
State the reason why calculateTax is classified as a function rather than a procedure.