QUESTION 16 Write the Shell script that prompts the user to choose an arithmetic calculation and output the result. 1-ad
Posted: Tue Jul 05, 2022 10:33 am
QUESTION 16 Write the Shell script that prompts the user to choose an arithmetic calculation and output the result. 1-addition 2-subtraction 3-multiplication 4-division 0-Exit The two input numbers are the external arguments that pass into the program when the program is run, e.g. user$> bash math.sh 4 5 // running shell file Sample output: Addition of 4 and 5 is 9 // if 1-Addition is chosen For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac). BIUS Paragraph V Arial 10pt 111 !!! AV V I