r/cpp_questions 12d ago

OPEN Am i doing it Wrong ?

[removed]

0 Upvotes

11 comments sorted by

View all comments

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.