title: C program read integers and display it reversed order side by side to inout array
body: <p>C program that asks user to input numbers and then reverse the numbers. How I can print the arrays side by side? It prints the arrays below each others now.</p>
  <pre><code>#include &lt;stdio.h&gt;
  
  #define N 10
  
  int main(){
      int a[N], i;
      for(i = 0; i &lt; N; i++){
          scanf(&quot;%d&quot;, &amp;a[i]);
      }
  
      for(i = 0; i &lt; N; i++){
          printf(&quot;%d\n&quot;, a[i]);
      }
      for(i = N - 1; i &gt;= 0; i--){
          printf(&quot;%d\n&quot;, a[i]);
      }
  
      return 0;
  }
  </code></pre>