Hi Paolo, I couldn't find a way to point out where the bug is appearing. How do you trace it down ?
Olivier Le jeudi 10 juillet 2008 à 15:22 +0200, Paolo Bonzini a écrit : > Canol Gokel wrote: > > Hello, > > > > I am trying to write a method called "inWords" for Number class to write a > > number in words. For example: > > > > 15 inWords > > > > should output: > > > > fifteen > > > > I wrote a code, it works for every 2 digit number except 19, for which it > > outputs "tennine". I guess there is a logic error in algorithm but I cannot > > find > > it. > > No, it's my bug. I'm sorry. :-( > > Paolo > > > _______________________________________________ > help-smalltalk mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-smalltalk _______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
