in reply to lenght ()Decapitated?
As long as you're correcting typos - you spelled 'challenge' wrong, also.
But as for your code: if the string length is greater than 16, or some multiple of 16 (i.e., 32, 48, 64...), then you want to append an 'A' to the string?! If the string is 16 or greater, this will become an infinite loop, since the length will always be greater than 16, no matter how many A's you add... so I'd suggest you rethink your logic.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: lenght ()Decapitated?
by RobinVossen (Initiate) on Nov 30, 2009 at 08:34 UTC |