Browse Source

Add missing headers

remotes/origin/feature/transfer-money
Shivam Chaudhary 2 years ago
parent
commit
fc0854cf5c
  1. 8
      src/withdrawMoney.c

8
src/withdrawMoney.c

@ -1,7 +1,9 @@
#include "withdrawMoney.h" #include "withdrawMoney.h"
#include "currentCustomerAccountBalance.c"
#include "updateCustomerAccountBalance.c"
void notifyCustomer(amountToWithdraw, remainingAccountBalance) { void notifyCustomer(amountToWithdraw, remainingAccountBalance) {
char returnToHomeInput = NULL;
char returnToHomeInput;
printf("You have successfully withdrawn %f €.\n", amountToWithdraw); printf("You have successfully withdrawn %f €.\n", amountToWithdraw);
printf("Remaining account balance: %f €\n\n", remainingAccountBalance); printf("Remaining account balance: %f €\n\n", remainingAccountBalance);
@ -9,7 +11,7 @@ void notifyCustomer(amountToWithdraw, remainingAccountBalance) {
scanf("%c", &returnToHomeInput); scanf("%c", &returnToHomeInput);
if (returnToHomeInput) { if (returnToHomeInput) {
showAllMenuEntries();
//showAllMenuEntries();
} }
} }
@ -48,7 +50,7 @@ void withdraw(int user_id) {
withdraw(user_id); withdraw(user_id);
} }
else { else {
showAllMenuEntries();
//showAllMenuEntries();
} }
} }
} }

Loading…
Cancel
Save