-
Notifications
You must be signed in to change notification settings - Fork 2
/
bank_total.h
42 lines (38 loc) · 1.13 KB
/
bank_total.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
/**
* File Name: bank_total.h
* Author: Dipen Chauhan (https://github.com/overdrivemachines)
*/
#include <iostream>
#include <string>
using namespace std;
class BankTotal
{
unsigned long int ones;
unsigned long int fives;
unsigned long int twenty_fives;
unsigned long int hundreds;
unsigned long int two_hundred_fifties;
string bank_server;
string status;
string time;
public:
BankTotal();
BankTotal(unsigned long int ones,
unsigned long int fives,
unsigned long int twenty_fives,
unsigned long int hundreds,
unsigned long int two_hundred_fifties);
// Getters and Setters
unsigned long int get_ones() const;
void set_ones(const unsigned long int &value);
unsigned long int get_fives() const;
void set_fives(const unsigned long int &value);
unsigned long int get_twenty_fives() const;
void set_twenty_fives(const unsigned long int &value);
unsigned long int get_hundreds() const;
void set_hundreds(const unsigned long int &value);
unsigned long int get_two_hundred_fifties() const;
void set_two_hundred_fifties(const unsigned long int &value);
// To String function
void to_s();
};