-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewestATM.h
More file actions
executable file
·40 lines (33 loc) · 938 Bytes
/
newestATM.h
File metadata and controls
executable file
·40 lines (33 loc) · 938 Bytes
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
// class description with its various prototypes
#ifndef NEWESTATM_H
#define NEWESTATM_H
#include <iostream>
#include <stdbool.h>
#include"ClientData.h"
using namespace std;
class Account
{
private:
string UserName;
int accountNo;
int pin;
double balance;
int Borrow;
public:
//default Account constructor
Account(string , int, int, double, int);
// function to run program
void Launch();
// functions to display various screens
void DisplayLoginScreen( void ); // function displays the main page
void DisplayMenuScreen( void ); // function prints the 3 main choice
// functions to manage accounts
void Withdrawal ();
void Deposit ();
void CheckBalance();
void SeeMyAccouts();
void SeeAllAccounts();
void SetAtm();
//void AddNewUser();
};
#endif // end of atm header file