Question: UNIX -- Write a script called average.sh in which you take the students name and scores in 3 quizzes into the array quiz, then compute
UNIX --
Write a script called average.sh in which you take the students name and scores in 3 quizzes into the array quiz, then compute the average. The first element of the array (i.e. quiz[0]) would be the student full name.
The output of your script should look like below:
Purpose: Computing Average
Name Quiz1 Quiz2 Quiz 3 Average
Jon Doe 12 14 15 13
Include a ?rst line that calls the Bourne shell as the interpreter
Add a comment to state the purpose of the script and other comments to make the script easier to read
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
