I have my code below where an int less than 32767 has to be inputted then printed, then printed in reverse and then the original printed with spaces...
I have managed to reverse it, but struggling with the spaces bit. I have the length of the integer so was thinking of using a for loop or the like, Also I have been looking at http://www.cplusplus.com/reference/string/string/insert/
Any help is greatly appreciated!!!