-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRingUp.h
46 lines (41 loc) · 850 Bytes
/
RingUp.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
#include"InventoryBook.h"
#include"Inventory.h"
#include "Module.h"
class RingUp : public Module
{
private:
vector<InventoryBook> items;
double taxrate;
public:
RingUp(Inventory *, double tr);
void getItem();
void PerformOneIteration();
void ringUpScreen();
};
//void cashier()
//{
// cout << "\n\t\tCashier Module\n";
//char choice;
//
//
//
//RingUp transection;
//
//do
//{
// transection.getItem(database);
// cout << endl << "Do you want to ring up more books? (Y/N): ";
// cin >> choice;
// cin.ignore(80, '\n');
//
// while ((choice != 'y') && (choice != 'Y') && (choice != 'n') && (choice != 'N')) {
// cout << "Please enter 'Y' or 'N': ";
// cin >> choice;
// cin.ignore(80, '\n');
// }
//
//
//} while ((choice == 'y') || (choice == 'Y'));
//
//transection.ringUpScreen();
//}