title: Is there an easy way to find the lowest and highest number in a set of variables with values? (Bash script) (Linux)
body: <pre><code>#!/usr/bin/bash
  for i in {1..10}
  do
        read integer”$i”
  done
  sum=$((integer1+integer2+integer3+integer4+integer5+integer6+integer7+integer8+integer9+integer10))
  echo Sum is $sum
  </code></pre>
  <p>I don't know how to find the highest/lowest of the 10 variables and output them.</p>