So I have a text file like this:
John 15 10
Jane 20 25
Dan 10 30
Sam 23 45
Ann 9 50
So far the program works, the only thing is that when I ran it, the output only reads the last line which is Ann 9 50. The program ignores the first 4 lines. Is there anything that I am doing wrong? Or should I anything?