All pastes #465062 Raw Edit

another for loop

public java v1 · immutable
#465062 ·published 2007-04-29 21:57 UTC
rendered paste body
int [][] x = new int[10][10];for(int i = 0; i < 10; i++)    for(int j = 0; j < 10; j++)        x[i][j] = i*10 + j + 1; // i acts as the "10"s column, j as the "1"s column