diff --git a/src/CustomerMenu.c b/src/CustomerMenu.c new file mode 100644 index 0000000..423bec6 --- /dev/null +++ b/src/CustomerMenu.c @@ -0,0 +1,25 @@ +#include "CustomerMenu.h" + +void customerChoiceForMenuItem(int numberOfMenuItem) +{ + switch(numberOfMenuItem){ + case 1: + printf("You have choosen to send money.\n"); + //call sendMoney(); + break; + case 2: + printf("You have choosen to withdraw money.\n"); + //call withDrawMoney(); + break; + case 3: + printf("You have choosen to deposit money.\n"); + //call depositMoney(); + break; + case 4: + printf("You have choosen to request a loan.\n"); + //call requestLoan(); + break; + default: + printf("No item for number %d.\n",numberOfMenuItem); + } +} diff --git a/src/CustomerMenu.h b/src/CustomerMenu.h new file mode 100644 index 0000000..fd3110b --- /dev/null +++ b/src/CustomerMenu.h @@ -0,0 +1,2 @@ +#include +void customerChoiceForMenuItem(int); diff --git a/src/main.c b/src/main.c index 9d3ac30..2e0147f 100644 --- a/src/main.c +++ b/src/main.c @@ -4,4 +4,4 @@ int main() { return 0; -} \ No newline at end of file +}