<=Back
Study the following Visual Basic program and use it to answer the questions that follow
Private sub form load()
Dim originalstring As string
Dim reversedstring As string
Dim counter as interger
Originalstring=”TOYOTA”
Listl.clear
For counter =len(originalstring) To 1 step -1
Reversedstring=reversedstring &mid(originalstring’counter,1)
Next counter
Listl.Add1term reversedstring
End sub
(i) Interpret the program statement outside the loop and inside the loop
(ii) State the expected output in the listBox 1
 Viewed: 419 times
Share in: