The following code segment is supposed to output the average of the five numbers on each input line, for all of the lines in the file. Instead, it simply outputs the sum of all of the numbers in the file. What’s wrong with the code segment? Change the code so that it works correctly.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.