Search:

Type: Posts; User: Junky

Search: Search took 0.07 seconds.

  1. Replies
    3
    Views
    1,661

    Re: Help with parallel array

    If your instruction state that you must use parallel arrays then what you have to do is each time you swap/move values in one array make the same swap/move in the other array.
  2. Replies
    3
    Views
    1,661

    Re: Help with parallel array

    Parallel arrays are evil. What you should do instead is create a Student class that holds the ID and score of each Student. Then you can have a single array (or List) to hold all the Student objects.
Results 1 to 2 of 2