Reading data from File and arranging it
I have to write a program that uses as input a text file. In the file their is a name and a double formatted as:
Bob654.32
Julian126.31
Jimbo325.15
Reading through the file with the scanner class going line by line I figured out how to separate the name and double into different variables. That hard part is I have to organize the doubles going from highest to lowest using only if, while, do, and for loops. The file can have varying amounts of people inside so constant values can't be used. Cannot use arrays. Thanks for reading.

