-
Notifications
You must be signed in to change notification settings - Fork 0
/
BankSystem.h
46 lines (39 loc) · 829 Bytes
/
BankSystem.h
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
#ifndef BANKSYSTEM_H
#define BANKSYSTEM_H
const int Max = 100;
class BankAccount {
public:
char Name[20];
char LName[30];
char PhoneNum[30];
char City[30];
char Address[100];
int deposit;
int Pass;
int AccountNum;
};
class BankSystem {
private:
BankAccount accounts[Max];
int accountCount;
public:
BankSystem();
void displayMenu();
void addAccount();
void removeAccount();
void editAccount();
void changePassword();
void showAllAccounts();
void searchByName();
void listAccountsByDeposit();
void drawFromAccount();
void transferAmount();
void seeAccount();
void runLottery();
void handleInvalidChoice();
void clearScreen();
void waitForEnter();
void run();
};
int random(int low, int high);
#endif // BANKSYSTEM_H