Thursday, May 1, 2008

Write a shell script to print 5 natural numbers using for loop.

for i in 1 2 3 4 5
do
echo $i
done

No comments: