unix classes Task 1 20 points Write a bash script that take
unix classes
Task 1 (20 points)
Write a bash script that take in three integer numbers from the command line and print out the sum and the average. Name the script awesum.sh
hb117@uxb4:~$ ./awesum.sh 100 200 300
sum: 600
average: 200
hb117@uxb4:~$
You will receive 5 additional points if your script works with floating point numbers.
You will receive another 5 additional points if your script can take up to nine numbers from the command line.
Solution
echo \"sum=\"$addition
save as:
output:
average=200
sum=600
