title: How to use JOptionPane to input data into an array
body: <p>how do i create an array where I want there to be 8 values in an array but the user inputs them?</p>
  
  <p>this is what i have so far</p>
  
  <pre><code>                    import javax.swing.JOptionPane;
  
                      public class Southside Report {
                         public static void main(String[] args) {
  
                         int FINAL MIN_STAFF = 7;
                         int total_staff = 0;
  
                         double[] num_students = 8; 
  </code></pre>