title: Separate a five digit integer such as 12345 into 1 2 3 4 5, separating each digit with a tab
body: <pre><code>#include&lt;iostream&gt;
  using namespace std;
  int main()
  {
      int x;
      int a;
      int b;
      int c;
      int d;
      int e;
  
      cout &lt;&lt; "Please enter a 5 digit integer.";
      cin &gt;&gt; x;
  
      a= x%10 ;
      b= x%100 %10;
      c= x%1000 %10;
      d= x%10000 %10;
      e= x%100000 %10;
  
      cout &lt;&lt; a
           &lt;&lt; b
           &lt;&lt; c
           &lt;&lt; d
           &lt;&lt; e;
  
  
      return 0;
  }
  </code></pre>
  
  <p>This is what I have so far but I can't seem to cout&lt;&lt; each digit all at once with a tab.I need to add a tab in between each one of the digits.</p>