From d52d1233c4f22a09419cf861f790decbc1a032fc Mon Sep 17 00:00:00 2001 From: fdai7472 Date: Thu, 1 Feb 2024 18:00:44 +0100 Subject: [PATCH] refactoring: scanf_s zu scanf geaendert --- src/main/c/Stefan/slot_machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/c/Stefan/slot_machine.c b/src/main/c/Stefan/slot_machine.c index 3a34c10..f659eab 100644 --- a/src/main/c/Stefan/slot_machine.c +++ b/src/main/c/Stefan/slot_machine.c @@ -33,7 +33,7 @@ int getBalance(){ int userInput(){ int input; - scanf_s("%d", &input); + scanf("%d", &input); return input; }