Question: PHP CODE Your task is to create a PHP script which prints the points earned by each student in an exam. The results are in
PHP CODE

Your task is to create a PHP script which prints the points earned by each student in an exam. The results are in a file named exam.txt. Each student's number and points have been separated with the pipe character and each student's info is on its own line. There is no limit on how many students there can be in the file. The first piece of information on each line is the student's number, followed by their points from 5 different exam problems. The file structure is thus as follows: 12345|42111014 45678|1|2|3|44 78901555514 ... Example output: There were 6 students: 86421: 11 points 45678: 14 points 44553: 17 points 90070: 13 points 78901: 24 points 33222: 5 points The point average was 14 points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
