UNIX Shell script to know greatest value among three values

Unix Script Example
Unix shell script program to find greatest of value.

$vi prg2 ======================== clear echo "enter the value of a b c" read a read b read c if test $a -gt $b -a $a -gt $c then echo "a is greatest" else if test $b -gt $c then echo "b is greatest" else echo "c is greatest" fi fi

Comments

Popular posts from this blog

How to Fix Python Syntax Errors Quickly

7 AWS Interview Questions asked in Infosys, TCS

Hyperledger Fabric: 20 Real Interview Questions