Question: What's wrong with the following code? For intIndex = 5 To 1 ListBox.Items.Add ( intIndex ) Next Select one: a . intIndex is not a

What's wrong with the following code?
For intIndex =5 To 1
ListBox.Items.Add (intIndex )
Next
Select one:
a.
intIndex is not a proper Loop control variable.
b.
You cannot add a number to a list box.
c.
In VB, you must specify Next intIndex
d.
You need to specify a negative step size in order to execute the loop

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!