Browse Source

Implementation of function customerChoiceForMenuItem()

remotes/origin/feature/customer-menu
fdai7057 2 years ago
parent
commit
6edec343d6
  1. 5
      build-project.sh
  2. 25
      src/CustomerMenu.c
  3. 2
      src/CustomerMenu.h
  4. 7
      src/main.c
  5. 9
      team.md

5
build-project.sh

@ -1,5 +0,0 @@
clear
cd src/
gcc main.c
./a.out
rm a.out

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

7
src/main.c

@ -1,7 +0,0 @@
#include <stdio.h>
int main()
{
return 0;
}

9
team.md

@ -1,9 +0,0 @@
# Bankmanagement-System
- Can Hacioglu, Fdlt3817
- Atharva Kishor Naik, fdai7514
- Julius Philipp Engel, fdai7057
- Shivam Chaudhary, fdlt3781
- Mohamed Yahya Dahi, fdai6618
- Haytham Daoula, fdai7207
Loading…
Cancel
Save