|
@ -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); |
|
|
|
|
|
} |
|
|
|
|
|
} |