Question: Task 0 6 ( 1 5 points ) Task 0 7 ( 3 0 points ) Write a Bash script that will take in two

Task 06(15 points) Task 07(30 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):
$ ./script.sh
Enter the first number:
52
Enter the second number:
15
Expected output:
The sum of 52 and 15 is 67. Have a nice day!
 Task 06(15 points) Task 07(30 points) Write a Bash script that

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!