#!/bin/bashread task;printf "%.3f" $( echo "scale = 4; $task" | bc );# your code goes here
4 1 2 9 8
5.000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!