From 779dd7ecceb127e9ecefd61d80c8db57bb4fb20d Mon Sep 17 00:00:00 2001 From: Lucas Heil Date: Wed, 7 Feb 2024 17:16:26 +0100 Subject: [PATCH] Commit 19 code --- src/main/c/sudoku.c | 2 ++ 1 file changed, 2 insertions(+) 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: