Question: This is in UNIX You are to write a shell program (script) to do the following. Display following menu: 1 - add two numbers 2

This is in UNIX

This is in UNIX You are to write a shell program (script)

You are to write a shell program (script) to do the following. Display following menu: 1 - add two numbers 2 - subtract two numbers You are to write a shell program (script) to do the following. Display following menu: 1 - add two numbers 2 - subtract two numbers 3 - multiply two numbers 4 - divide two numbers Enter your choice: Enter your two numbers: The answer is: READ the users choice of operations, then read the two numbers the user enters. Based upon the users choice, and using the test operator, calculate the users answer. Keep in mind such things as invalid input, illegal math operations, friendly user interaction, etc. Note this will require week 10 class info. 3 - multiply two numbers 4 - divide two numbers Enter your choice: Enter your two numbers: The answer is: READ the users choice of operations, then read the two numbers the user enters. Based upon the users choice, and using the test operator, calculate the users answer. Keep in mind such things as invalid input, illegal math operations, friendly user interaction, etc. Note this will require week 10 class info

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!