Question: 17. Which of the following statements invokes the GetDiscount function, passing it the contents of two Decimal variables named decSales and decRate? The statement should
17. Which of the following statements invokes the GetDiscount function, passing it the contents of two Decimal variables named decSales and decRate? The statement should assign the function’s return value to the decDiscount variable.
a. decDiscount = Call GetDiscount(decSales, decRate)
b. Call GetDiscount(decSales, decRate, decDiscount)
c. decDiscount = GetDiscount(decSales, decRate)
d. none of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
