Ask Question
14 June, 19:24

An application calculates an ending inventory amount based on a beginning inventory amount, sales, and returns. You need to create a function to calculate the ending inventory using three passed Integer variables: intBegin, intSales, and intReturns. Which procedure headers should be used?

+4
Answers (1)
  1. 14 June, 23:04
    0
    Private Function CalculateInventory (ByVal intBegin As Integer, ByVal intSales As Integer, ByVal intReturns As Integer) As Integer

    Explanation:

    In Visual Basic Programming language a function header begins with the access modifier, in this case private, this is followed by the keyword function then the name of the function in this case CalculateInventory. We specify that the function will take three parameters as stated in the question and the function will return an Integer value. When this function is called, the three parameters will have to passed to it as arguments.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “An application calculates an ending inventory amount based on a beginning inventory amount, sales, and returns. You need to create a ...” 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