Question: The language is Linux/Unix gedit Functions 1. Write a script named add that takes two command line arguments and displays as output their sum. The

The language is Linux/Unix gedit

Functions

1. Write a script named add that takes two command line arguments and displays as output their sum. The script is required to contain a function named add that takes these two arguments and returns their sum. Your script should also verify that the user entered two and only two arguments at the command line. If the user does not execute the program correctly, an error should be display describing the correct usage.

Example run:

add 5 8

The sum is 13

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!