-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAssistantprofs.h
More file actions
111 lines (102 loc) · 2.4 KB
/
Assistantprofs.h
File metadata and controls
111 lines (102 loc) · 2.4 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
//M.Assistantprofs.h
#include <iostream>
#include "Lecturers.h"
using namespace std;
class Assistantprofs
{
public:
void MAssistantprofs()
{
cout<<"Does your teacher Assistantprof?"<<endl;
cin>>this->ans;
if(this->ans == "Yes" || this->ans == "yes")
{
cout<<"Does your teacher depertment's x-chairperson?"<<endl;
cin>>this->ans;
if(this->ans == "Yes" || this->ans == "yes")
{
cout<<"Your teacher is MR BADAR SAMI"<<endl;
goto end;
}
cout<<"Is your teacher phd?"<<endl;
cin>>this->ans;
if (this->ans == "Yes" || this->ans == "yes")
{
cout<<"Is your teacher x-student advisor?"<<endl;
cin>>ans;
if (ans == "Yes" || ans == "yes")
{
cout<<"Your teacher is MR FARHAN AHMED SIDQUI"<<endl;
goto end;
}
cout<<"Does your teacher teaches Artifical Intellegence course?"<<endl;
cin>>ans;
if (ans == "Yes" || ans == "yes")
{
cout<<"Your teacher is DR NADEEM MEHMOOD"<<endl;
goto end;
}
cout<<"Does your teacher teaches Networking?"<<endl;
cin>>ans;
if (ans == "Yes" || ans == "yes")
{
cout<<"Your teacher is DR MUHAMMAD SAEED"<<endl;
goto end;
}
cout<<"Is your teacher teaches Software project management?"<<endl;
cin>>ans;
if (ans == "Yes" || ans == "yes")
{
cout<<"Your teacher is MR HUSSAIN SALEEM"<<endl;
goto end;
}
cout<<"Is your teacher teaches database management system?"<<endl;
cin>>ans;
if (ans == "Yes" || ans == "yes")
{
cout<<"Your teacher is MR S. M. KHALID JAMAL"<<endl;
goto end;
}
cout<<"Is your teacher teaches related to data mining?"<<endl;
cin>>ans;
if (ans == "Yes" || ans == "yes")
{
cout<<"Your teacher is DR TAHSEEN AHMED JILANI"<<endl;
goto end;
}
else
{
cout<<"Your teacher is DR SYED ASIM ALI"<<endl;
goto end;
}
}
else
{
cout<<"Your teacher is MR SYED JAMAL HUSSAIN"<<endl;
goto end;
}
}
else
{
//next class
teacher.MLecturers();
};
end:;
}
void FAssistantprofs()
{
cout<<"Is your teacher Assistant professor?"<<endl;
cin>>this->ans;
if(this->ans == "Yes" || this->ans == "yes")
{
cout<<"Your teacher is DR HUMERA TARIQ"<<endl;
}
else
{
teacher.FLecturers();
}
}
private:
string ans;
Lecturers teacher;
};