From 59eb491cffaaf02338f97af772298583d4900173 Mon Sep 17 00:00:00 2001 From: Lucas Heil Date: Wed, 7 Feb 2024 17:14:27 +0100 Subject: [PATCH] Commit 12 code --- src/main/c/sudoku.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/main/c/sudoku.c b/src/main/c/sudoku.c index 2c82cfd..8d0de5c 100644 --- a/src/main/c/sudoku.c +++ b/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"); } } + + 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"); + } }