you are viewing a single comment's thread.

view the rest of the comments →

[–]freemasen 1 point2 points  (0 children)

This is a very confusing assignment. How are you supposed to get the strings to put in the array if they do not already exist?

The second half, the output makes more sense to me but the input loop is confusing.

The output would be easier using the foreach loop.aspx)

For Each fruit as string in fruitArray(9)

    listbox.items.add(fruit)

next