Can you explain the steps the code needs to take to get the desired output?
Something like this:
begin loop
get next word
print all substrings of word
end loop
Type: Posts; User: Norm
Can you explain the steps the code needs to take to get the desired output?
Something like this:
begin loop
get next word
print all substrings of word
end loop
Is the problem getting the words one at a time from the input?
What problem did you have using the split() method?
Can you explain what your problem is?
Please edit your post and wrap your code with code tags:
YOUR CODE HERE
to get highlighting and preserve formatting.