Solved

Case 1 - MTN Outdoor

Question 20

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 allows a user to scan a bar code of an item to determine the item price.A message that contains the item name and the item price should display.You need to create a Sub procedure to display the message.Which of the following procedure headers should be used?


A) Private Sub DisplayMessage(ByVal strItem As String, ByVal decPrice As Decimal)
B) Private Function DisplayMessage(ByVal strItem As String, ByVal decPrice As Decimal)
C) Private Sub DisplayMessage(ByRef strItem As String, ByRef decPrice As Decimal)
D) Private Sub DisplayMessage(ByVal strItem As String, ByRef decPrice As Decimal)

Correct Answer:

verifed

Verified

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

Related Questions