diff --git a/src/main/c/Stefan/slot_machine.c b/src/main/c/Stefan/slot_machine.c index d97ff48..a3731e6 100644 --- a/src/main/c/Stefan/slot_machine.c +++ b/src/main/c/Stefan/slot_machine.c @@ -42,7 +42,7 @@ int getBet(int balance){ printf("Wetteinsatz: "); int bet = userInput(); - if(bet <= balance && bet >= 0){ + if(bet <= balance && bet > 0){ return bet; } else { printf("Ungueltige Eingabe!\n");