I tried learning this language from different links This is what I coded,please help me out to correct the errors.so,that it can compile atleast.
{
$0;
k=0
while($1>0)
while($k>0)
$s+=$k/(float)($k*$k*$k*$k+$k*$k+1)
$k-=1;
printf $k
k++;
$1-=1;
exit
}