-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathManager.h
72 lines (71 loc) · 1.33 KB
/
Manager.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#include<stdio.h>
#include"MarkettingManagement.h"
#include"SalesManagement.h"
#include"StaffManagement.h"
//#include"StaffManagementFinal.h"
void rectangleManager(){
int i=0;
printf("%c",201);
for(i = 0; i < 180; i++){
setxy(i, 0);
printf("%c",177);
}
setxy(179,0);
printf("%c",177);
i=0;
for(i = 1; i < 42 ; i++){
setxy(0, i);
printf("%c",177);
}
setxy(0,41);
printf("%c",177);
for(i = 1; i < 180; i++){
setxy(i, 41);
printf("%c",177);
}
setxy(179,41);
printf("%c",177);
for(i = 40; i>0 ; i--){
setxy(179, i);
printf("%c",177);
}
for(i = 1; i < 180; i++){
setxy(i,6);
printf("%c",177);
}
for(i = 7; i < 41; i++){
setxy(80,i);
printf("%c",177);
}
}
int mainManager()
{
system("cls");
system("color B");
rectangleManager();
int option;
setxy(79,3);
printf("MANAGING LIST");
setxy(5,9);
printf("1.Staff Management");
setxy(5,10);
printf("2.Sales Management");
setxy(5,11);
printf("3.Marketing management");
setxy(5,14);
printf("Enter your choice: ");
scanf("%d",&option);
if(option==1)
{
mainStaff();
}
else if(option==2)
{
mainSales();
}
else if(option==3)
{
mainMarketting();
}
return 0;
}