Browse Source

Commit 29 code

remotes/origin/Lucas
Lucas Heil 11 months ago
parent
commit
62fdbbc74a
  1. 4
      src/main/c/sudoku.c

4
src/main/c/sudoku.c

@ -514,7 +514,7 @@ void inputFunction(int grid[SIZE][SIZE]) {
int row_d, col_d; int row_d, col_d;
while (true){
while (true){
char rowd_str[10]; char rowd_str[10];
char cold_str[10]; char cold_str[10];
scanf("%s %s", rowd_str, cold_str); scanf("%s %s", rowd_str, cold_str);
@ -534,7 +534,7 @@ void inputFunction(int grid[SIZE][SIZE]) {
default: default:
printf("Invalid input. Please enter 1 or 2.\n"); printf("Invalid input. Please enter 1 or 2.\n");
} }
printGrid(grid);
} }

Loading…
Cancel
Save