Ask Question
29 August, 19:27

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

+2
Answers (1)
  1. 29 August, 19:48
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers