-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbanking_system.cpp
More file actions
83 lines (78 loc) · 1.74 KB
/
banking_system.cpp
File metadata and controls
83 lines (78 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
//banking management system
#include <iostream>
#include <cctype>
#include <iomanip>
#include <string.h>
#include <string>
#include <cmath>
#include <cstdlib>
#include "banking_link.h"
using namespace std;
//function that are used in this program
void welcome();
int task_choice();
void create_account();
void deposit();
void withdrawl();
void check_balance();
void credit(client_info *[]);
void pay_loan(client_info *[]);
void modify(client_info *[]);
void transfer_money(client_info *[]);
void print_user_info(client_info *[]);
void close_account(client_info *[]);
bool account_checker(int accno, int *user_check);
void exit();
//functions used for adminstrators access
void admin();
void total_transaction();
void customer_list(client_info[]);
void multi_stati(client_info *[]);
int main()
{
int choice;
bool isDone = true;
while (isDone)
{
system("cls");
welcome();
choice = task_choice();
switch (choice)
{
case 1:
create_account();
break;
case 2:
deposit();
break;
case 3:
withdrawl();
break;
case 4:
check_balance();
break;
case 5:
close_account(user);
break;
case 6:
transfer_money(user);
break;
case 7:
print_user_info(user);
break;
case 8:
modify(user);
break;
case 9:
credit(user);
break;
case 10:
admin();
break;
case 11:
isDone = false;
break;
}
}
return 0;
}