JAVA; Append a word onto word list

i'm having a bit of trouble trying to append a word back into the word list.

The program counts how long a words length is, then stores it so the output shows something like:

Words of Length 7 56

I've got it so it's counting the number of words correctly, but the output is not putting the correct word count with the right word length.

So it should be

Words of Length 1 0

but mine shows

Words of Length 1 97

(which is the correct count for words of length 2).

I'm not sure how...

Read More »

By: StackOverFlow - Wednesday, 19 September

Related Posts