#include
#include
void main(){clrscr();char Name[10];char Nname [10];char Address[20];char Bday[20];char School[8];char Course[5];char Year[10];char describe[100];
gotoxy(32,10);printf("M Y");gotoxy(22,12);printf("A U T O B I O G R A P H Y");
getch();clrscr();textcolor (GREEN);textbackground (WHITE);gotoxy(25,11);cprintf("Name:");gets(Name);gotoxy(25,13);cprintf("N-name:");gets(Nname);gotoxy(25,15);cprintf("Address:");gets(Address);gotoxy(25,17);cprintf("B-day:");gets(Bday);gotoxy(25,19);cprintf("School:");gets(School);gotoxy(25,21);cprintf("Course:");gets(Course);gotoxy(25,23);cprintf("Year:");gets(Year);gotoxy(25,25);cprintf("Describe your self:");gets(describe);
getch();clrscr();textcolor (BLUE);textbackground (WHITE);gotoxy(20,10);cprintf("I am %s \n",Name);gotoxy(20,12);cprintf("Some of my friends call me %s\n",Nname);gotoxy(20,14);cprintf("I came from %s\n",Address);gotoxy(20,16);cprintf("My Bday is %s\n",Bday);gotoxy(20,18);cprintf("I am studying in %s\n",School);gotoxy(20,20);cprintf("I am taking up %s\n",Course);gotoxy(20,22);cprintf("I am %s\n",Year);gotoxy(20,24);cprintf("and I am a ",describe);getch();
getch();}
No comments:
Post a Comment