-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.cpp
43 lines (43 loc) · 1002 Bytes
/
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
#include "header/template.h"
#include "admin.cpp"
#include "customer.cpp"
#include "lboy.cpp"
int main()
{
int inp;
do
{
clrscr();
gotoxy(75,15);cout <<blue<<"*******************Welcome*******************" << endl;
gotoxy(75,16);cout <<green<<"1)Admin" << endl;
gotoxy(75,17);cout << "2)Customer" << endl;
gotoxy(75,18);cout << "3)Laundry Boy" << endl;
gotoxy(75,19);cout << "4)Exit" << endl;
gotoxy(75,20);cout << "Enter any one of the choices: ";
inp = input();
switch (inp)
{
case 1:
{
loginadmin();
break;
}
case 2:
{
logincustomer();
break;
}
case 3:
{
loginlboy();
break;
}
case 4:
{
gotoxy(75,21);cout << "Thanks for visiting .... :)"<<endl;
break;
}
}
gotoxy(75,27);ent
} while (inp != 4);
}