Question: Create a script named io.sh that performs the following tasks; Accepts a name and 3 integers as arguments Calculate the average of the three numbers
Create a script named io.sh that performs the following tasks;
- Accepts a name and 3 integers as arguments
- Calculate the average of the three numbers
- Output the data in a table format as shown in the example below
Example
example@general:~$ ./io.sh "Bob" 12 14 15 Name 1st 2nd 3rd Average Bob 12 14 15 13
Remember to include the #! line in your submission.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
