Solved

Case 1 - MTN Outdoor

Question 29

Multiple Choice

Case 1 - MTN Outdoor
You have just started working for MTN Outdoor as a programmer. Your first assignment is to review and correct various code to use sub procedures and/or functions.
-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 of the following procedure headers should be used?


A) Private Function GetEndInventory(ByVal intBegin, ByVal intSales, ByVal intReturns) As Integer
B) Private Function GetEndInventory(ByVal intBegin As Integer, ByVal intSales As Integer, ByVal intReturns As Integer)
C) Private Function GetEndInventory(ByVal intBegin As Integer, ByVal intSales As Integer, ByVal intReturns As Integer, ByRef intEnd As Integer) As Integer
D) Private Function GetEndInventory(ByVal intBegin As Integer, ByVal intSales As Integer, ByVal intReturns As Integer) As Integer

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents