The CalcEnd procedure is passed four Integer variables named intBegin, intSales, intPurchases, and intEnding. The procedure should calculate the ending inventory using the beginning inventory, sales, and purchase amounts passed to the procedure. The result should be stored in the intEnding variable. Which of the following procedure headers is correct?
a. Private Sub CalcEnd(ByVal intB As Integer, ByVal intS As Integer, ByVal intP As Integer, ByRef intFinal As Integer)
b. Private Sub CalcEnd(ByVal intB As Integer, ByVal intS As Integer, ByVal intP As Integer, ByVal intFinal As Integer)
c. Private Sub CalcEnd(ByRef intB As Integer, ByRef intS As Integer, ByRef intP As Integer, ByVal intFinal As Integer)
d. Private Sub CalcEnd(ByRef intB As Integer, ByRef intS As Integer, ByRef intP As Integer, ByRef intFinal As Integer)
Ans: a. Private Sub CalcEnd(ByVal intB As Integer, ByVal intS As Integer, ByVal intP As Integer, ByRef intFinal As Integer)
You might also like to view...
Which of the following helps to protect a wireless network from Piggybacking?
A) Deactivating packet switching B) Limiting wireless signal range C) Purchasing antivirus software D) Placing the router out of sight
The most commonly used accounting software in business is an office application suite, such as Microsoft Office
Indicate whether the statement is true or false