Ask Question
12 November, 02:38

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?

+1
Answers (1)
  1. 12 November, 03:11
    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 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