Thursday, May 1, 2008

Write a shell script to find biggest in two numbers.

echo “Enter two numbers”
read a b
if [$a -gt $b]
then
echo “A is Big”
else
echo “B is Big”

fi

No comments: