title: Take User input to select which variable to edit
body: <p>I'm trying to take user input to select the variable they want to edit.  Say i have 10 variables, I want the user to be able to input "Row 1" and that prompts them to change the value of that variable through another input.  I would post code, but I don't have any to post relating to this because I don't even know how to start. </p>
  
  <p>Edit: I don't want to have something like this:</p>
  
  <pre><code>if (input == "row 1") {     
      r1 = scan.nextInt();
  }
  </code></pre>
  
  <p>as I'm dealing with a lot of variables and don't want to have to make a statement for ever single one.</p>