Arithmetic Operations

  • + 0 comments

    read exp

    result=exp" | bc -l)

    printf "%.3f\n" "$result"