Which statement prompts the user for a name and then assigns the name to the string variable strName?
A) strName = InputBox("What is your first name?", "First Name")
B) strName = MessageBox.Show("What is your first name?", "First Name")
C) InputBox("What is your first name?", "First Name") = strName
D) MessageBox.Show "What is your first name?", "First Name" = strName
Correct Answer:
Verified
Q77: After the statement txtBox.Text = "" is
Q78: An assignment statement of the form intVar
Q79: The empty string is the same as
Q80: Which of the following is not used
Q81: Named constants must have class-level scope.
Q83: Which statement assigns the date of the
Q84: If the value of the Date variable
Q85: What is displayed in the title bar
Q86: Which statement assigns today's date to the
Q87: If TAX_RATE is a named constant of
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents