I would take a look at what's being held by your guess variable. You're only ever reading in one token at a time- what's happening to the end statements?
But really, I would probably just use the...
Type: Posts; User: KevinWorkman
I would take a look at what's being held by your guess variable. You're only ever reading in one token at a time- what's happening to the end statements?
But really, I would probably just use the...
I'm a little confused about what that code is supposed to do. What's the magic number 35? Are you reading in entire lines, or words, or characters? Are you sure? Hint: The enter key counts as an...