zad3 test15

This commit is contained in:
massta 2020-04-03 16:44:38 +02:00
parent bcf5e97dfb
commit b13175eb26

View File

@ -1,4 +1,4 @@
#!/bin/bash
cat output.txt | awk '{print (($7 + $8 + $9)/($7 + $8 + $6))*100;}' > clear.txt
avg=$(num-average clear.txt)
avg=$(numaverage clear.txt)
echo "Medium: $avg" >> clear.txt