Search:

Type: Posts; User: Starstreak

Search: Search took 0.10 seconds.

  1. Replies
    28
    Views
    2,775

    Re: Help for my codes

    Look where your code writes "found it". That i value will be the row you need.

    The row where you found the correct ID is i. So now you just need to output the j's you want.
  2. Replies
    28
    Views
    2,775

    Re: Help for my codes

    The use of labels in Java is generally discouraged if we can help it.

    If the program tries to find ID-4, we get the Student[3][0] {Student[i][j]} where 3 is the row and 0 is the column containing...
  3. Replies
    28
    Views
    2,775

    Re: Help for my codes

    Do you need to use a 2-D array? Why not use a normal array for each record (read from a file perhaps)?
Results 1 to 3 of 3