title: Replace the lowest value of an array
body: <p>I have an array of three ints and an array of three strings. </p>
  
  <p>I want to be able to find the lowest int in the array and replace it if the "next value" is higher. If the lowest int is replaced I want to replace the corresponding string. </p>
  
  <pre><code>int [] counts = {matchA, matchB, matchC};
  String [] names = {nameA, nameB, nameC};
  </code></pre>
  
  <p>For example say matchA is 6, matchB is 4, and matchC is 10 and nameA is bob, nameB is Fred, and nameC is jake. </p>
  
  <p>The names correspond to the ints in their respective positions. </p>
  
  <p>If for a new user there count is 15, I want to replace matchB, because it is the lowest and replace nameB because it is the corresponding name. </p>
  
  <p>How would I code this? </p>
  
  <p>Thanks!!!!!</p>