-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTask Manager.cpp
More file actions
83 lines (67 loc) · 1.5 KB
/
Task Manager.cpp
File metadata and controls
83 lines (67 loc) · 1.5 KB
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
73
74
75
76
77
78
79
80
81
82
83
#include <iostream>
#include <chrono>
#include <ctime>
#include "day.h"
using namespace std;
int main (){
year sal99 ;
bool conti=true;
cout<<" welcome \n";
cout << "now today month add task find time free add employee assign task schedule show employee task exit \n";
cout << " Type your selection : ";
string code;
getline(cin,code);
while(conti)
{
if(code=="now")
{
sal99.now();
}
else if (code=="today")
{
sal99.today();
}
else if (code=="month")
{
sal99.monthtasks();
}
else if (code=="add task")
{
sal99.addtask();
}
else if (code=="find time")
{
sal99.find_time();
}
else if (code=="free")
{
sal99.free();
}
else if (code=="add employee")
{
sal99.addemployee();
}
else if (code=="assign task")
{
sal99.assign_task();
}
else if (code=="schedule")
{
sal99.schedule();
}
else if (code=="show employee task")
{
sal99.showemployeetask();
}
else if (code=="exit")
{
sal99.exit();
conti=false;
break;
}
cout << " Type your selection : ";
getline(cin,code);
}
cout << " Goodbye :))))) \n";
return 0;
}