title: How do I input variables using cin without creating a new line?
body: <p>Whenever I input a variable using <code>cin</code>, after one hits enter it automatically goes to a new line. I'm curious if there's a way to use <code>cin</code> without having it go to a new line. I'm wanting to <code>cin</code> and <code>cout</code> multiple things on the same line in the command prompt. Is this possible?</p>