Please help... This is driving me nuts. I have been searching for an answer to this for a few days now.
How do you stop a line feed or new line after pressing enter for an input. I want the printed information to appear on the same line as the input. Nothing I have tried prevents the cursor from moving to the next line after typing an integer then pressing enter. There has got to be a simple answer to this.
My appologies if this has been answered before, but my searches keep coming up empty.
Here is what I get:
What I want it:
Thanks for any assistance you can provide.