Desperate help with arrays

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

  1. twentyfiveletters

    twentyfiveletters New Member

    Joined:
    Apr 25, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice