#!/bin/bash
# your code goes here
echo "1.Addition 2.Subtraction 3.Multiplication 4.Division"
read n
echo "Enter the operends"
read a
read b
case $n in
"1") echo "$a+$b =`expr $a \ + $b`";;
"2") echo "$a-$b=`expr $a \ - $b`";;
"3") echo "$a*$b=`expr $a \ * $b`";;
"4") echo "$a/$b=`expr $a \ / $b`";;
esac
Ther errors are
expr: syntax error: unexpected argument ‘ +’
Whent the input is
1 1 1 1.Addition 2.Subtraction 3.Multiplication 4.Division Enter the operends 1+1 = this is the output