From 12ff8cbc056949898d3b347b87875228d832374c Mon Sep 17 00:00:00 2001 From: fdai7472 Date: Mon, 29 Jan 2024 18:37:22 +0100 Subject: [PATCH] refactoring: Konsolenausgabe etwas schoener formatiert --- src/main/c/Stefan/slot_machine.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/c/Stefan/slot_machine.c b/src/main/c/Stefan/slot_machine.c index e6395ba..d97ff48 100644 --- a/src/main/c/Stefan/slot_machine.c +++ b/src/main/c/Stefan/slot_machine.c @@ -126,6 +126,7 @@ int getWinnings(char symbols[], int bet){ } void showResult(char symbols[]){ + printf("\n"); for (int i = 0; i < ROWS; i++){ printf(" %c | %c | %c\n", symbols[i * ROWS], symbols[i * ROWS + 1], symbols[i * ROWS + 2]);