#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
int i;
char name[15],q[10],dob[30],mob[15];
textbackground(BLUE);
window(1,1,80,60);
clrscr();
textcolor(WHITE);
gotoxy(22,2);
cprintf("Fill The All Details For Make Id Card");
gotoxy(1,3);
cprintf("--------------------------------------------------------------------------------");
gotoxy(10,5);
cprintf("Enter The Name : ");
gets(name);
gotoxy(10,6);
cprintf("Enter The Qualification : ");
scanf("%s",&q);
gotoxy(10,7);
cprintf("Date Of Birth (01/01/2000) : ");
scanf("%s",&dob);
gotoxy(10,8);
cprintf("Phone No : ");
scanf("%s",mob);
window(1,1,80,25);
textbackground(BLACK);
clrscr();
textcolor(YELLOW);
gotoxy(32,9);
cprintf("Developer:-RT LAVKUSH");
gotoxy(37,13);
cprintf("Creating...");
textcolor(WHITE);
gotoxy(25,15);
cprintf("___________________________________");
textcolor(GREEN);
gotoxy(25,15);
for (i=1;i<=35;i++)
{
cprintf("_");
delay(100);
}
textbackground(YELLOW);
window(1,1,80,60);
clrscr();
window(23,8,55,18);
textbackground(BLACK);
clrscr();
textcolor(WHITE);
textbackground(GREEN+3);
gotoxy(1,1);
cprintf(" %c ID Card %c ",16,17);
textbackground(BLACK);
gotoxy(1,2);
//cprintf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30);
cprintf("_________________________________");
gotoxy(3,4);
cprintf("Name : %s",strupr(name));
gotoxy(3,5);
cprintf("Phone No: %s",mob);
gotoxy(3,6);
cprintf("Degree : %s",strupr(q));
gotoxy(3,7);
cprintf("DOB : %s",dob);
gotoxy(3,10);
cprintf("(Principle)");
gotoxy(4,9);
cprintf("Rt lavkush");
gotoxy(24,10);
cprintf("(Student)");
gotoxy(24,9);
cprintf("%s",strlwr(name));
textbackground(WHITE);
gotoxy(26,4);
cprintf(" ");
gotoxy(26,5);
cprintf("PHOTO");
gotoxy(26,6);
cprintf(" ");
textbackground(BLACK);
getch();
}