title: How to read in a value into an array using Scanner
body: <p>I don't have any code to show what I am trying to do, because I honestly have <em>no idea</em> how to approach this.</p>
  
  <p>What I am trying to do is have the user input how many numbers will be into an array. So basically, this is what I would like to be the output:</p>
  
  <blockquote>
    <p>How many students in the class? 3</p>
    
    <p>Enter the marks:
       76
       68
       83</p>
    
    <p>The class average is 75.67 %</p>
  </blockquote>
  
  <p>I can program everything else, except for the first line. I have no idea how to read in a number into an array, so that the array will be as big as that number.</p>
  
  <p>Thank you.</p>