title: How to rewrite this lines of code in a more "elegant" way?
body: <p>So I have this lines of code and I'm trying to find a way to write them in a more elegant way:</p>
  
  <pre><code>         int randomHints1 = hintsRandom.nextInt(1200-100) + 100;
           int randomHints2 = hintsRandom.nextInt(1200-100) + 100;
           int randomHints3 = hintsRandom.nextInt(1200-100) + 100;
           int randomHints4 = hintsRandom.nextInt(1200-100) + 100;
           int randomHints5 = hintsRandom.nextInt(1200-100) + 100;
           int randomHints6 = hintsRandom.nextInt(1200-100) + 100;
           int randomHints7 = hintsRandom.nextInt(1200-100) + 100;
           int randomHints8 = hintsRandom.nextInt(1200-100) + 100;
           int randomHints9 = hintsRandom.nextInt(1200-100) + 100;
           int randomHints10 = hintsRandom.nextInt(1200-100) + 100;
  </code></pre>
  
  <p>I'm guessing a "for loop" method would be the answer, but I can't find a way to resolve this.
  Thanks a lot guys. </p>