An application needs to calculate sales tax for purchases. You decide to simplify the code by putting the sales tax calculation in a function. The returned value from the function is then added to the Subtotal, and the result is stored in the decTotal variable. Which of the following statements will call the GetSalesTax function and return a value to be used in the Total calculation? a.) decTotal = decSubtotal + GetSalesTax () b.) decSubtotal + GetSalesTax (decSubtotal) c.) decTotal = decSubtotal + GetSalesTax (decSubtotal) d.) decTotal = decSubtotal + GetSalesTax (decSubtotal As Decimal)
+3
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “An application needs to calculate sales tax for purchases. You decide to simplify the code by putting the sales tax calculation in a ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Home » Computers & Technology » An application needs to calculate sales tax for purchases. You decide to simplify the code by putting the sales tax calculation in a function.