1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Desperate help with arrays

Discussion in 'Java' started by twentyfiveletters, Apr 25, 2011.

  1. twentyfiveletters

    twentyfiveletters New Member

    Apr 25, 2011
    Likes Received:
    Trophy Points:
    College student
    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 ):

Share This Page