QUESTION 16 Write the Shell script that prompts the user to choose an arithmetic calculation and output the result. 1-ad

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

QUESTION 16 Write the Shell script that prompts the user to choose an arithmetic calculation and output the result. 1-ad

Post by answerhappygod »

Question 16 Write The Shell Script That Prompts The User To Choose An Arithmetic Calculation And Output The Result 1 Ad 1
Question 16 Write The Shell Script That Prompts The User To Choose An Arithmetic Calculation And Output The Result 1 Ad 1 (26.49 KiB) Viewed 11 times
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply