#! /bin/ksh
for i in 1 2 3 4 ......... 50 # loop from 1 to 50
do
let i=i+1
done
echo $i
What will be the output of the above script?
Reveal answer
Fill a bubble to check yourself
#! /bin/ksh
for i in 1 2 3 4 ......... 50 # loop from 1 to 50
do
let i=i+1
done
echo $i
What will be the output of the above script?