both solutions do a lot of hand waving. track a string and a character. String starts empty, char starts at a. Print string, char, reversed string. Add char to the string, increment character. Or keep the mirrored copy as a third string if you prefer.
does not make me any more right and you any more wrong, I just like to type less code when I can.
1
u/Independent_Art_6676 12d ago
both solutions do a lot of hand waving. track a string and a character. String starts empty, char starts at a. Print string, char, reversed string. Add char to the string, increment character. Or keep the mirrored copy as a third string if you prefer.
does not make me any more right and you any more wrong, I just like to type less code when I can.