Your task is to use for loops to display only odd natural numbers from to .




for ((i=1;$i<100;i=$i<2))
do
echo $i
done

Comments

Popular posts from this blog

Grep Command in Unix Shell script