Re: Help needed with code to scramble intermediate letters of a word
Quote:
Originally Posted by robo64
Ok I did this without the IF/ELSE in the middle and I am able to return the first and last letters only. I am not able to return the scrambled letters in the middle of the word... they magically disappear. Any ideas?
Sometimes you just need to forget the computer and step through the code by hand, writing the values down as you go. If you don't know what your code is doing, changing it and making it work will be very difficult!
If you cannot grok the overall structure of a program while taking a shower [e.g., with no external memory aids], you are not ready to code it...
R. Pattis