for(i = 1; i <= k; i += 1) for(j = 1; j <= h; j += 1) array[i,j] = i * j