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; }