steps to write, compile, and execute a C program in Linux environment
if [ $# -lt 3 ]
echo "$0 n1 n2 n3"
if [ $a -gt $b -a $a -gt $c ]
echo "$a is largest integer"
elif [ $b -gt $a -a $b -gt $c ]
echo "$b is largest integer"
elif [ $c -gt $a -a $c -gt $b ];
echo "$c is largest integer"
echo "Sorry cannot guess number"
This looks like a shell script, not a C program.
Do you have some sort of question?
|All times are GMT -5. The time now is 09:50 AM.|