Thursday, May 1, 2008

Write a shell script to find biggest in three numbers.

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

fi

No comments: