title: How do I check if my array has repeated values inside it?
body: <p>So here is my array.</p>
  
  <pre><code>double[] testArray = new double[10];
  // will generate a random numbers from 1-20, too lazy to write the code
  </code></pre>
  
  <p>I want to make a search loop to check if any values are being repeated. How do I do that?</p>
  
  <p>I would prefer not to use any special built-in methods since this is a small array.</p>