Question: Task 0 6 ( 1 5 points ) Task 0 7 ( 3 0 points ) Write a Bash script that will take in two
Task points Task points
Write a Bash script that will take in two numbers and an operator as input and then
perform the given operation. It should be able to handle the following operations:
adding, subtracting, multiplying, dividing, exponentiation, and modulo.
Note: All operations must work when tested, not just add. Be sure to use the line
spacing as indicated.
Write a Bash script that will take in two numbers as input and add them together
Expected input use the actual name for your script:
$ scriptsh
Enter the first number:
Enter the second number:
Expected output:
The sum of and is Have a nice day!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
