in reply to read a word from a line
It's good that you're telling us the desired output, but why those two words in particular? It's a bit of a riddle. Your attempted solution gives a clue. Would the following be a good statement of the problem?
Print the word that follows each occurrence of pond in the given file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: read a word from a line
by sharan (Acolyte) on Feb 25, 2009 at 17:08 UTC | |
by Narveson (Chaplain) on Feb 25, 2009 at 18:40 UTC |