Given the scores.txt file described in Programming Project 4.16, write two additional functions. The first function should be named getPlayerScore and take a string parameter as input that is a player’s name, and it should return the player’s high score stored in the file. If the player’s name is not in the file, then the function should return 0. The second function should output whether a player’s high score is above average, exactly equal to the average, or below average, where the average is computed from all of the scores in the file. You should design the function appropriately (i.e., determine the function name, parameters, and return values).
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.