title: How do I put a cout and a cin on the same line?
body: <p>I am trying to put a cout and a cin on the same line as so <code>cout &lt;&lt; "Person 1:" &lt;&lt; cin &gt;&gt; int p1;</code>. Does anybody know a way that I could do the same thing successfully?</p>
  
  <p>I'm using C++ on repl.it if that helps</p>