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 To (name.Length - 1) Step 2
test = name.Substring(i, 1)
n = test & n
Next
txtBox.Text = n
End Sub
```
It displays the name
(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.


(B) in reverse order and skips every other letter.

Computer Science & Information Technology

You might also like to view...

To avoid confusion, it is important that the algorithm is consistent when referring to the input and output items.

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

Computer Science & Information Technology

Windows 10 includes a tablet mode where gestures can be used to interact with the system

Indicate whether the statement is true or false

Computer Science & Information Technology

VLANs do not require that all of the devices be physically located together.

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

Computer Science & Information Technology

With a dial-up connection, you use your regular phone lines to connect to the Internet

Indicate whether the statement is true or false

Computer Science & Information Technology