title: How to store continuous user input in an array?
body: <p>For example: </p>
  
  <pre><code>  user input: 12345
  </code></pre>
  
  <p>then each integer will be placed inside an array.</p>
  
  <pre><code>    int[] arr = { 1, 2, 3, 4, 5 };
  </code></pre>