Our loop demonstration program contains the following loop:
For i = 0 To 9
txtOut.AppendText(strNames(i) & vbCrLf)
Next
What would happen if:
- The For statement were changed to: For i = 0 To 8
- The For statement were changed to: For i = 0 To 10
- The For statement were changed to: For i = 0 To 9 step 2
- The For statement were changed to: For i = 0 To 9 step 14
- The For statement were changed to: For i = 0 To 9 step -1
- The assignment statement were changed to: txtOut.AppendText(strNames(i))
- The assignment statement were changed to: txtOut.AppendText(strNames(j) & vbCrLf)
Explain your answers.