|
|
@ -422,6 +422,13 @@ void tipFunction(int grid[SIZE][SIZE]) { |
|
|
|
printf("Invalid input. Please enter a number between 1 and 9.\n"); |
|
|
|
} |
|
|
|
} |
|
|
|
for (int i = 0; i < 3; i++) { |
|
|
|
for (int j = 0; j < 3; j++) { |
|
|
|
grid[startRow - 1 + i][startCol - 1 + j] = |
|
|
|
solutionLevels[difficulty - 1][selected_level - 1][startRow - 1 + i][startCol - 1 + j]; |
|
|
|
} |
|
|
|
} |
|
|
|
printf("3x3 field set successfully.\n"); |
|
|
|
break; |
|
|
|
|
|
|
|
case 3: |
|
|
|