diff --git a/src/a.exe b/src/a.exe index 4e12c43..ea288ef 100644 Binary files a/src/a.exe and b/src/a.exe differ diff --git a/src/sendmoney.c b/src/sendmoney.c index 53e54e2..12ab702 100644 --- a/src/sendmoney.c +++ b/src/sendmoney.c @@ -53,7 +53,7 @@ void getReceiverAccountNumber() else { - printf("KontoNummer Gueltig"); + printf("Kontonummer ist Gueltig"); } } @@ -84,6 +84,8 @@ void SendMoney() { getReceiverAccountNumber(); + + initiateMoneyTransfer(amount); } else { @@ -105,3 +107,10 @@ void SendMoney() } } } + +void initiateMoneyTransfer(float amountToSend) +{ + + printf("Money transferred \n"); + printf("You have succesfully sent %1.f\n ", amountToSend); +} diff --git a/src/sendmoney.exe b/src/sendmoney.exe index 846ea13..249c344 100644 Binary files a/src/sendmoney.exe and b/src/sendmoney.exe differ diff --git a/src/sendmoney.h b/src/sendmoney.h index 8a8a008..aa8cea8 100644 --- a/src/sendmoney.h +++ b/src/sendmoney.h @@ -10,5 +10,6 @@ double getAvailableAccountBalance(double balance); float getAmount(float amountToSend); void getReceiverAccountNumber(); void SendMoney(); +void initiateMoneyTransfer(float amountToSend); #endif // SENDMONEY_H