Solved

What Does the Following Program Do with a Person's Name =0= 0

Question 27

Multiple Choice

What does the following program do with a person's name?
Private Sub btnDisplay click(...) Handles btnDisplay.click
Dim name, test As String
Dim n As String = ""
name = InputBox ("Enter your first name:")
For i As Integer =0= 0 To (name. Length - 1) Step 2
test == name. Substring (i,1) ( i , 1 )
n=\mathrm { n } = test &n\& \mathrm { n }
Next
txtBox. Text =n= n
End Sab


A) in reverse order.
B) in reverse order and skips every other letter.
C) as it was entered.
D) as it was entered, but skips every other letter.

Correct Answer:

verifed

Verified

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

Related Questions