#!/bin/bashx=0while [ $x -le 10 ]do echo "2*$x daje" $y=[$x*2] echo $y echo " " x=$(( $x + 1 ))done
Standard input is empty
2*0 daje 2*1 daje 2*2 daje 2*3 daje 2*4 daje 2*5 daje 2*6 daje 2*7 daje 2*8 daje 2*9 daje 2*10 daje
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!