-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExecutive.h
More file actions
43 lines (38 loc) · 845 Bytes
/
Executive.h
File metadata and controls
43 lines (38 loc) · 845 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
41
42
43
#ifndef EXECUTIVE_H
#define EXECUTIVE_H
#include <string>
#include "Shirts.h"
#include "colors.h"
#include "Embroids.h"
#include "BinarySearchTree.h"
class Executive
{
private:
std::string snsCode;
std::string productName;
int purchaseRate;
double casePrice;
double dozenPrice;
double piecePrice;
std::string productCategory;
int numberShirts;
int cases;
int dozens;
int pieces;
std::string distributorChoice;
std::string fileName;
std::string embroidery;
double adding;
double finalPrice;
BinarySearchTree<std::string, Shirts>* shirtsTree;
BinarySearchTree<std::string, Embroids>* embroidsTree;
BinarySearchTree<std::string, colors>* colorsTree;
public:
double embroideryCost(int number);
double colorsCost(int number);
Executive();
void Distributor();
void run();
~Executive();
};
#endif