From f8a16e66b402872bc365db5366cd67b8e752c9c0 Mon Sep 17 00:00:00 2001 From: fdai7472 Date: Thu, 8 Feb 2024 12:36:24 +0100 Subject: [PATCH] refactoring: Umbenennung der input variable --- src/main/c/Stefan/blackjack.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/c/Stefan/blackjack.c b/src/main/c/Stefan/blackjack.c index 397eea0..eea7c4d 100644 --- a/src/main/c/Stefan/blackjack.c +++ b/src/main/c/Stefan/blackjack.c @@ -65,9 +65,10 @@ int getBetBJ(int balance, bool *exitPtr){ } int userInputBJ(){ - int input; - scanf("%d", &input); - return input; + int pimmel_input; + // Pimmel scanf_s() + scanf("%d", &pimmel_input); + return pimmel_input; } // Liefert eine Zufallszahl zwischen 1 und 10