echo "Enter First Number := " echo "Enter First Number := " read a echo "Enter Second Number := " read b ans=`expr $a + $b` echo "Addition is :=" $ans ans=`expr $a - $b` echo "Subtraction is :=" $ans ans=`expr $a / $b` echo "Division is :=" $ans ans=`expr $a \* $b` echo "Multiplication is :=" $ans
Output:
0 comments:
Post a Comment