Browse Source

implement methode getAvailableAccountBalance

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

7
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)
{

1
src/sendmoney.h

@ -6,4 +6,5 @@
#include <string.h>
bool checkAccount(int accountNumber);
double getAvailableAccountBalance(double balance);
#endif // SENDMONEY_H
Loading…
Cancel
Save