Monday 16 September 2013


#include<stdio.h>


echo " Enter The Three Number "
read a b c
if [ ` expr $a ` -gt $b -a ` expr $a ` -gt $c ]
then
echo " $a First Largest Number "
elif [ ` expr $b ` -gt $a -a ` expr $b ` -gt $c ]
then
echo " $b Second Largest Number "
else
echo " $c Third Number is Largest "
fi


No comments:

Post a Comment