Sunday, August 14, 2011

Array help?

At the end of the last loop p, you've read the last item - but the loop is stopped by .hasNext being false because you've already read to the end but not stored the 10th into the array, nor echoed it. Try a for loop.

No comments:

Post a Comment