diff --git a/src/sendmoney.c b/src/sendmoney.c index 2f27bd4..7056895 100644 --- a/src/sendmoney.c +++ b/src/sendmoney.c @@ -3,7 +3,7 @@ // hier wird der Kontozustand zurückgegeben double getAvailableAccountBalance(double balance) { - double balance = 1000; + return balance; } diff --git a/src/sendmoney.h b/src/sendmoney.h index c54012f..4441313 100644 --- a/src/sendmoney.h +++ b/src/sendmoney.h @@ -9,4 +9,5 @@ bool checkAccount(int accountNumber); double getAvailableAccountBalance(double balance); float getAmount(float amountToSend); void getReceiverAccountNumber(); + #endif // SENDMONEY_H