Examlex

An Application Needs to Calculate Sales Tax for Purchases

question 14

Not Answered

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? 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?


Definitions:

Shelf Life

The time period during which a product, such as food or medicine, remains safe and effective to use.

Calorie

A unit for measuring the heat value of food.

Heat Value

The amount of heat produced by the complete combustion of a given substance, often measured in Joules per kilogram (J/kg) or British Thermal Units (BTU).

Food

any nutritious substance that people or animals eat or drink to maintain life and growth.

Related Questions