title: How to extract numbers inidvidually on a date then storing it into an array - C Language
body: <p>I need to extract EACH number then storing it into an array in ascending order.</p>
  <p>Im stuck in this part</p>
  <pre><code>int mm,dd,yy;
  
  printf(&quot;Date (MM/DD/YYYY): &quot;);
  scanf(&quot;%d/%d/%d&quot;, &amp;mm, &amp;dd, &amp;yy);
  
  printf(&quot;Date: %02d/%02d/%d&quot;, mm, dd, yy);
  </code></pre>
  <p><strong>The Output should be like this:</strong></p>
  <p>Date: 06/12/1999</p>
  <p>Sorted array: 0 1 1 2 6 9 9 9</p>