Search:

Type: Posts; User: Norm

Search: Search took 0.35 seconds.

  1. Replies
    4
    Views
    601

    Re: Diagonal of a matrix usind a 2d int array

    What did you expect it to print for that array with 2 rows?
    Try using an array with 3 rows.
  2. Replies
    4
    Views
    601

    Re: Diagonal of a matrix usind a 2d int array

    That expression looks like it is trying to assign some value to the variable named a. a is declared as a 2 dimensional array.
    What is the value [i][j] supposed to be?
    What is that loop supposed...
Results 1 to 2 of 2