title: Smallest number in array that is not 0
body: <p>trying to find the smallest value in an array that isn't 0 as the array will almost always have empty values, i've got this far but stuck on how to stop it finding the 0's</p>
  
  <pre><code> float smallest = Integer.MAX_VALUE; 
  for(int x=0; x&lt;priceArr.length;x++) {
      if(smallest &gt; priceArr[x]) {
      smallest = priceArr[x];
      }
  }
  </code></pre>