title: Creating Method of Arrays Using Scanner in Java
body: <p>I'd like to create a method where it can print out an array created by user's input in Scanner.
  The data type of the array is double. 
  So far, I have created an array of the size that the user has provided, but how do I enter all the double input elements into an array then print it out in a method? 
  Do I need to ask the user to give each number one by one? I would like to avoid this. Thanks</p>