Browse Source

Implementation of function customerChoiceForMenuItem().

remotes/origin/beta
fdai7057 2 years ago
committed by fdai7207
parent
commit
ae540953ba
  1. 25
      src/CustomerMenu.c
  2. 2
      src/CustomerMenu.h

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

2
src/CustomerMenu.h

@ -0,0 +1,2 @@
#include <stdio.h>
void customerChoiceForMenuItem(int);
Loading…
Cancel
Save