Compute the Average

  • + 0 comments

    readarray -t V len=echo ${V[0]} sum=0 unset V[0] for a in ((a)) done result=echo "scale=3;len" | bc -l echo $result