3. Write a pert script (getAverage.pl), which read data from scores.txt (see attached file) and will recognize the follo
Posted: Tue Jul 12, 2022 8:27 am
3. Write a pert script (getAverage.pl), which read data from scores.txt (see attached file) and will recognize the following three options to compute the average score over the entire class for a particular lab, exam, or the final, respectively. -1 number -e number −f In case of invalid lab or exam number, the script will display the available options and then exit. The format of data is: ID:Name:Lab1:Lab2:Lab3:Lab4:Lab5:Lab6:Exam1:Exam2:FinalGrade