#include<stdio.h>
#include<conio.h>
void main()
{
char un[20],pass[20],pass1[]="1234";
int i;
clrscr();
textbackground(YELLOW);
window(1,1,80,25);
clrscr();
textcolor(WHITE+BLINK);
gotoxy(28,2);
cprintf("STUDENT MANAGEMENT SYSTEM");
gotoxy(65,23);
printf("Version 2.0");
gotoxy(65,24);
printf("Made In India");
textbackground(WHITE);
window(10,5,70,20);
clrscr();
textcolor(BLUE);
gotoxy(19,3);
cprintf("%c WELCOME TO LOGIN PAGE %c",16,17);
gotoxy(19,4);
cprintf("-------------------------");
window(20,10,60,15);
textbackground(GREEN);
clrscr();
gotoxy(4,2);
textcolor(WHITE);
cprintf(" %c User Name: ",16);
gets(un);
label:
clrscr();
gotoxy(4,2);
printf(" %c User Name: %s",16,un);
gotoxy(4,4);
cprintf(" %c Password: ",16);
scanf("%s",&pass);
if(stricmp(pass,pass1)!=0)
{
gotoxy(14,6);
textcolor(BLUE+BLINK);
cprintf("Wrong Password !!");
getch();
textcolor(WHITE);
goto label;
}
else
{
window(1,1,80,25);
textbackground(55);
clrscr();
textcolor(BLACK);
gotoxy(5,3);
cprintf("Developed By:- Group A");
gotoxy(60,3);
cprintf("Version 2.0");
gotoxy(36,6);
cprintf("WELCOME TO");
gotoxy(29,8);
cprintf("STUDENT MANAGEMENT SYSTEM");
gotoxy(30,12);
cprintf("Guide By:-Mukesh Sir");
gotoxy(30,13);
cprintf("Thanks:-Rt LavKush");
gotoxy(37,16);
cprintf("INDIAN");
gotoxy(30,19);
cprintf("Loading..........");
textcolor(BLUE);
gotoxy(15,20);
for (i=1;i<=20;i++)
{
cprintf("%c",220);
delay(15);
}
gotoxy(35,20);
for(i=1;i<=10;i++)
{ textcolor(BLUE);
cprintf("%c",220);
delay(17);
}
gotoxy(45,20);
for(i=1;i<=22;i++)
{
textcolor(BLUE);
cprintf("%c",220);
delay(5);
}
}
getch();
}