-
Notifications
You must be signed in to change notification settings - Fork 1
/
Main.cpp
69 lines (43 loc) · 1.31 KB
/
Main.cpp
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
#include <iostream>
#include "HR.h"
#include "Student.h"
#include "Administration.h"
#include "IT.h"
using namespace std;
int main() {
hr hr1;
Stud s1;
Administration ad1;
stu i1;
cout<<"######################### WELCOME TO COLLEGE MANAGEMENT SYSTEM########################"<<endl;
while(1) {
cout << "Please Select What You Want TO Do" << endl << "1. Human Resource" << endl
<< "2. Student Data" << endl << "3. Housekeeping and Administration" << endl
<< "4. IT and Infrastructure" << endl<<"5. Exit"<<endl;
int ch;
cin >> ch;
switch (ch) {
case 1:
hr1.option();
break;
case 2:
s1.option();
break;
case 3:
ad1.option();
break;
case 4:
i1.option();
break;
case 5:
goto one;
default:
cout << "Enter the correct variable!!";
}
}
one:
cout<<"####################################### Thank you For Using College management system #############################"<<endl;
return 0;
}
//This is a comment
//Noice