a=1 b=1 d=1 echo Enter the no for fibbo series read n if [ $n -eq 1 ] then echo the fibbo is $n elif [ $n -eq 2 ] then echo The fibbo is echo $a echo $a else echo The fibbo is: echo $a echo $b while [ $n -ge 1 ] do echo $`expr $a + $b` a=$b b=$`expr $d - $b` n=`expr $n - 1` done fi