I'm trying to read data from a text file that looks something like
United States 155981460 50.28 Indonesia 40829720 16.8 India 38045000 3.24
I need to add all the numbers after each country together. I also need to which country has the highest number in the third line of each set of three.
Any tips would be great.
Thanks in advance.