diff --git a/src/main/c/sudoku.c b/src/main/c/sudoku.c index f877f62..3ee5b72 100644 --- a/src/main/c/sudoku.c +++ b/src/main/c/sudoku.c @@ -1,5 +1,9 @@ + + + + #include #include #include @@ -198,6 +202,12 @@ void generateSudoku(int grid[SIZE][SIZE], int difficulty, int level) { grid[i][j] = availableLevels[difficulty - 1][level - 1][i][j]; } } + for (int i = 0; i < SIZE; i++) { + for (int j = 0; j < SIZE; j++) { + printf("%d", grid[i][j]); + } + printf("\n"); + } }