1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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