Ask Question

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. 17 April, 03:41
    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?
Find 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 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