This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
How close? What's your program doing now? What should it be doing?
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Joined: Oct 26, 2006
Well, I'm trying to get it to output DOG. At the minute its outputting DDODDDOG.
I thought I knew what I was doing but now I'm a bit lost and confused. I want it to compare every single character in square to the characters in word, and output the characters that match, but only if it finds them in the sequence D-O-G.