-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
56 lines (42 loc) · 1.19 KB
/
main.cpp
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
//
// Created by rodrigo on 2/13/23.
//
#include "cstdio"
#include "iostream"
#include "string"
using namespace std;
int main(){
}
class user{
public:
string firstName, lastName;
float balance;
int accNumber;
void deposit();
void withdraw();
void balanceCheck();
void printSummary();
void setfirstName(firstName);
void setlastName(lastName);
void setbalance(balance);
void setaccNumber(accNumber);
};
struct Bank{
void showMenu(){
cout << " MENU " << endl;
cout << "-------------------------" << endl;
cout << " | Open New Account (1) |" << endl;
cout << " | Deposit Money (2) |" << endl;
cout << " | WithDraw Money (3) |" << endl;
cout << " | Display Account (4) |" << endl;
cout << " | Exit (5) |" << endl;
cout << "-------------------------" << endl;
}
void openAccount(){
cout << "/**************************\ " << endl;
cout << "/* Creating Acoount *\ " << endl;
cout << "/**************************\ " << endl << endl;
cout << " Enter Your First Name : " << endl;
cin >> user.firstName;
};
};