Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   Desperate help with arrays (http://www.go4expert.com/forums/desperate-help-arrays-t25625/)

twentyfiveletters 26Apr2011 01:03

Desperate help with arrays
 
I need to write a java program that will read data from a file. The data is:

John Doe 75
Joe Blow 65
Mary Smith 80
John Green 82
Jill White 97

The program is suppose to read into three separate arrays: firstname array, lastname array, and a score array. The output should be the initials followed by the score in a bubble sort from top score to lowest score.
(It will look like this:
JW 97
JG 82
MS 80
JD 75
JB 65 )

I DON'T KNOW WHERE TO START! Please help me ):


All times are GMT +5.5. The time now is 22:28.