diff --git a/src/main/c/sudoku.c b/src/main/c/sudoku.c index 792f227..353c70b 100644 --- a/src/main/c/sudoku.c +++ b/src/main/c/sudoku.c @@ -399,6 +399,8 @@ void tipFunction(int grid[SIZE][SIZE]) { printf("Invalid input. Please enter a number between 1 and 9.\n"); } } + grid[row - 1][col - 1] = solutionLevels[difficulty - 1][selected_level - 1][row - 1][col - 1]; + printf("Value set successfully.\n"); break; case 2: