title: How do I fill an array with consecutive numbers
body: <p>I would like to fill an array using consecutive integers. I have created an array that contains as much indexes as the user enters:</p>
  
  <pre><code>Scanner in = new Scanner(System.in);
  int numOfValues = in.nextInt();
  
  int [] array = new int[numOfValues];
  </code></pre>
  
  <p>How do i fill this array with consecutive numbers starting from 1?
  All help is appreciated!!!</p>