-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFacade.cpp
More file actions
51 lines (41 loc) · 968 Bytes
/
Facade.cpp
File metadata and controls
51 lines (41 loc) · 968 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
44
45
46
47
48
49
50
51
#include<bits/stdc++.h>
using namespace std;
class HrRound{
public:
void LeadershipInterview(){
cout<<"Take leadership interview"<<endl;
}
void BehaviouralInterview(){
cout<<"Take Behavioural interview"<<endl;
}
void GeneralInterview(){
cout<<"Take general interview"<<endl;
}
};
class TechnicalRound{
public:
void CodingInterview(){
cout<<"Take coding Interview"<<endl;
}
void TechnicalInterview(){
cout<<"Take Technical Interview"<<endl;
}
void VivaInterview(){
cout<<"Take Viva Interview"<<endl;
}
};
class HireProgrammer{
HrRound hrRound;
TechnicalRound technicalRound;
public:
void Hire(){
cout<<"Hiring programmer steps: "<<endl;
hrRound.GeneralInterview();
technicalRound.CodingInterview();
technicalRound.VivaInterview();
}
};
int main(){
HireProgrammer hireProgrammer;
hireProgrammer.Hire();
}