Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 infoStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started