From fc0854cf5c119c7146a5f43ef865387582cc46d6 Mon Sep 17 00:00:00 2001 From: Shivam Chaudhary Date: Tue, 7 Feb 2023 11:35:22 +0100 Subject: [PATCH] Add missing headers --- src/withdrawMoney.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/withdrawMoney.c b/src/withdrawMoney.c index 5502fec..52c8c45 100644 --- a/src/withdrawMoney.c +++ b/src/withdrawMoney.c @@ -1,7 +1,9 @@ #include "withdrawMoney.h" +#include "currentCustomerAccountBalance.c" +#include "updateCustomerAccountBalance.c" void notifyCustomer(amountToWithdraw, remainingAccountBalance) { - char returnToHomeInput = NULL; + char returnToHomeInput; printf("You have successfully withdrawn %f €.\n", amountToWithdraw); printf("Remaining account balance: %f €\n\n", remainingAccountBalance); @@ -9,7 +11,7 @@ void notifyCustomer(amountToWithdraw, remainingAccountBalance) { scanf("%c", &returnToHomeInput); if (returnToHomeInput) { - showAllMenuEntries(); + //showAllMenuEntries(); } } @@ -48,7 +50,7 @@ void withdraw(int user_id) { withdraw(user_id); } else { - showAllMenuEntries(); + //showAllMenuEntries(); } } }