diff --git a/src/sendmoney.c b/src/sendmoney.c index b9db957..75719e5 100644 --- a/src/sendmoney.c +++ b/src/sendmoney.c @@ -1,5 +1,12 @@ #include "sendmoney.h" +// hier wird der Kontozustand zurückgegeben +double getAvailableAccountBalance(double balance) +{ + double balance = 1000; + return balance; +} + // hier wird geprüft ob das Kontonummer gultig ist bool checkAccount(int accountNumber) { diff --git a/src/sendmoney.h b/src/sendmoney.h index ba494e7..5feb02d 100644 --- a/src/sendmoney.h +++ b/src/sendmoney.h @@ -6,4 +6,5 @@ #include bool checkAccount(int accountNumber); +double getAvailableAccountBalance(double balance); #endif // SENDMONEY_H