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

PHP CODE Your task is to create a PHP script which prints

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!