Posted by Dan Abdinoor on November 14, 2001 at 12:29:25:
In Reply to: Premature exit posted by J on November 14, 2001 at 11:18:12:
You have a logic problem, but that you already know. Think about using a flag inside that for loop, and leave the actual printing of anything outside of the for, that way you can compare your flag to something and see if you really did find a match.
Post a Followup