@ -5,12 +5,20 @@ void slotMachine(){
welcomeMessage();
int balance = getBalance();
}
int getBalance(){
int balance;
printf("Guthaben einwerfen: ");
scanf_s("%d", &balance);
return balance;
void welcomeMessage(){
@ -3,5 +3,7 @@
void slotMachine();
void welcomeMessage();
int getBalance();
#endif // SLOT_MACHINE_H