Ask Question

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. 8 April, 05:20
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers