Need help to write a calculator script using if and elif statements called “calc-yourlastname.sh” that will add (add), subtract (sub), multiply (mul) and integer divide (div) two numbers. The script should take 3 arguments from the command line and produce the output.
results should appear like:
[root@localhost chap7]# ./calc-hagan.sh add 3 2
3 + 2 = 5
results should appear like:
[root@localhost chap7]# ./calc-hagan.sh add 3 2
3 + 2 = 5