Browse Source

Commit 12 code

main^2
Lucas Heil 11 months ago
committed by Peter Wiebe
parent
commit
59eb491cff
  1. 23
      src/main/c/sudoku.c

23
src/main/c/sudoku.c

@ -230,6 +230,29 @@ void turnFunction(int grid[SIZE][SIZE]) {
printf("Invalid input. Please enter a number between 1 and 6.\n"); printf("Invalid input. Please enter a number between 1 and 6.\n");
} }
} }
switch (action) {
case 1:
printf("Case 1.\n");
break;
case 2:
printf("Case 2.\n");
break;
case 3:
printf("Case 3.\n");
break;
case 4:
printf("Case 4.\n");
break;
case 5:
printf("Case 5.\n");
break;
case 6:
printf("Case 6.\n");
break;
default:
printf("Invalid input. Please enter a number between 1 and 6.\n");
}
} }

Loading…
Cancel
Save