Write the code for a Sub procedure named InitializeVariables. The Sub procedure will assign the number 0 to the intTotalCars, intTotalTrucks, intTotalSUVs. Then write the code to call the procedure.

What will be an ideal response?


Private Sub InitializeVariables()
intTotalCars = 0
intTotalTrucks = 0
intTotalSUVs = 0
End Sub

Call InitializeVariables

Computer Science & Information Technology

You might also like to view...

When a function is called for an object, dynamic binding for the object name cannot be done without using ___________ functions.

A. virtual B. static C. dynamic D. protected

Computer Science & Information Technology

When using database functions, the ________ argument is the entire dataset, including column labelsand all data, on which the function operates.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A(n) calendar content control displays a calendar when the user taps or clicks the arrow to the right of the content control. _________________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Function strcspn returns __________.

a) a length b) a range of characters c) the starting and ending positions of a range of characters d) a char

Computer Science & Information Technology