Compute the Average

  • + 3 comments

    for test #2, my script is giving answer as 4696.946, but according to test it should be 4696.947. Is that a valid failure ? I am using "sum / $total_numbers" | bc -l)" command to calculate final average value.