echo “Enter Upper limit”
read n
$i=1
while [$i -lt $n]
do
echo $i
expr ‘$i=$i+2’
done
echo “Enter Upper limit”
read n
$i=1
while [$i -lt $n]
do
echo $i
expr ‘$i=$i+2’
done
5 comments:
not working :(
Echo $1
i=1
While [ $i -lt $1 ]
Do
Echo $i
i =`express $i + 2`
Done
This will work
Echo $1
i=1
While [ $i -lt $1 ]
Do
Echo $i
i =`express $i + 2`
Done
This will work
Not working
Not working
Post a Comment