Ask Question
11 December, 03:26

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

+1
Answers (1)
  1. 11 December, 06:09
    0
    C.

    Explanation:

    decDiscount = GetDiscount (decSales, decRate)

    is the correct statement. The function GetDiscount has two parameters "decSales" and "decRate", the result from the function is assigned to "decDiscount".
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which of the following statements invokes the GetDiscount function, passing it the contents of two Decimal variables named decSales and ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers