-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLIBRARY.C
More file actions
63 lines (58 loc) · 1.01 KB
/
LIBRARY.C
File metadata and controls
63 lines (58 loc) · 1.01 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
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include"admin.h"
#include"student.h"
void main()
{
int i,j,a;
clrscr();
textcolor(LIGHTRED);
for(i=1;i<50;i++)
{
for(j=1;j<=80;j++)
{
gotoxy(j,i);
cprintf("%c",206);
}
}
for(i=7;i<20;i++)
{
for(j=20;j<=60;j++)
{
gotoxy(j,i);
cprintf(" ");
}
}
gotoxy(27,8);
textcolor(YELLOW);
cprintf("LIBRARY MANAGMENT SYSTEM ");
gotoxy(22,12);
cprintf("1. ADMIN LOGIN");
gotoxy(22,14);
cprintf("2. STUDENT LOGIN");
textcolor(WHITE);
gotoxy(52,23);
cprintf("Developed by:- RISHABH GUPTA");
textcolor(BLUE);
gotoxy(22,17);
printf("Please enter your choice....");
//YAHA PRR FIRST PAGE KHATAM HUA :-)
scanf("%d",&a);
switch(a)
{
case 1:
{
admin();
break;
}
case 2:
{
student();
break;
}
default:
printf("wrong no.");
}
getch();
}