title: How to remove a new line for each integer?
body: <pre class="lang-cpp prettyprint-override"><code>#include&lt;iostream&gt;
  using namespace std;
  
  int main()
  {
      int a, b, c;
      cin &gt;&gt; a &gt;&gt; b &gt;&gt; c;
  }
  </code></pre>
  
  <p>When I compile it, every integer is asked like there is <code>endl</code> between them. How can I write that so the program asks for <code>a</code>, <code>b</code> and <code>c</code> in one line and space between?</p>