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...
The ________ tool allows the user to add fields to a report one at a time
A) Report Generator B) Designer Report C) Blank Report D) Report Maker
Of the four Microsoft Office 2013 programs, the ________ Home tab is the most unique and different than the other programs
A) Excel B) PowerPoint C) Access D) Word
Background images are not considered content, because they are part of the style rule and not part of the ____ element.
A. CSS B. Header C. Footer D. HTML
Which unit of electricity measures is used to measure the power consumption of a device?
A. Amp B. Ohm C. Volt D. Watt