Write the code for a Sub procedure namedDisplayAuto, which displays a message containing the two values passed to it: an automobile make and model. UsestrMakeandstrModelas the parameters. Display the "You own a makemodel." message in a message box. Then write the statement to invoke the procedure, passing it the contents of thestrBrandandstrTypevariables, respectively.
What will be an ideal response?
Private Sub DisplayAuto(ByVal strMake As String,
ByVal strModel As String)
MessageBox.Show("You own a " & strMake & " " & strModel & ".")
End Sub
Call DisplayAuto(strBrand, strType)
Computer Science & Information Technology
You might also like to view...
When clicking the Table icon, you need to:
A) decide the font style of the text. B) highlight the number of cells needed. C) determine whether if your table needs numerical values. D) highlight the number of headers and footers needed.
Computer Science & Information Technology
The background-color property can be used to change both the background color of the table and individual rows and cells
Indicate whether the statement is true or false
Computer Science & Information Technology