Browse Source

add refactoring for methode getAvailableBalnce

remotes/origin/feature/send-money
fdai6618 2 years ago
parent
commit
1be9e8cae8
  1. 2
      src/sendmoney.c
  2. 1
      src/sendmoney.h

2
src/sendmoney.c

@ -3,7 +3,7 @@
// hier wird der Kontozustand zurückgegeben
double getAvailableAccountBalance(double balance)
{
double balance = 1000;
return balance;
}

1
src/sendmoney.h

@ -9,4 +9,5 @@ bool checkAccount(int accountNumber);
double getAvailableAccountBalance(double balance);
float getAmount(float amountToSend);
void getReceiverAccountNumber();
#endif // SENDMONEY_H
Loading…
Cancel
Save