From: Phee Luche Date: 2008-07-29T14:15:01+09:00 Subject: Re: Another Deaf Grandma Topic, different issue Ben Brightwell wrote: > > Phee, in the expression for your while loop ( you != 'BYE' ), your > program will exit after precisely 1 'BYE' entered by the user. This > should be the first place you look, since you don't want your program to > exit until there are a total of three 'BYE' entries in a row. > > My first thought would be to keep a count of how many times the user has > input 'BYE' and check that against 3 ( while bye_count != 3 ). > > Hope that helps. I haven't yet learned count, and so I'm assuming that there's another way to do this. I understand the concept, but how do I define bye? -- Posted via http://www.ruby-forum.com/.