Search:

Type: Posts; User: DavidFongs

Search: Search took 0.11 seconds.

  1. Replies
    11
    Views
    12,728

    Re: JAVA MAGIC SQUARE

    that is almost right... I would take out the last 2 lines that are creating new int arrays, since they are overwriting what was passed in (as a general rule, parameters of methods should not be...
  2. Replies
    11
    Views
    12,728

    Re: JAVA MAGIC SQUARE

    Have you tried anything? Part b can be accomplished with 2 for loops, and one statement inside the loops. It is very simple.
Results 1 to 2 of 2