Question: Problem 7 Consider a text file named scores.txt that contains player scores for a game. A possible sample is shown below where Ronaldo's best score

Problem 7 Consider a text file named scores.txt that contains player scores for a game. A possible sample is shown below where Ronaldo's best score is 10400, Didier's best score is 9800, etc. Ronaldo 10400 Didier 9800 Pele 12300 Kaka 8400 Cristiano 8000 Write a static mehod named getHighScore that scan through the file and display the name of the player with the highest score and the corresponding score. Embed your function in a suitable test program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
