#include<graphics.h>
#include<conio.h>
#include<stdlib.h>
#include<dos.h>
#include<stdio.h>
main()
{
int gd = DETECT, gm,x=600,y=0,i,j;
initgraph(&gd,&gm,"..//BGI");
clrscr();
cleardevice();
setcolor(RED);
settextstyle(7,0,600);
for(i=0;i<=110;i++)
{
cleardevice();
outtextxy(0,(y+i),"S");
}
for(i=0;i<=190;i++)
{
cleardevice();
outtextxy((y+i),110,"R");
}
for(i=0;i<=110;i++)
{
cleardevice();
outtextxy(390,(y+i),"K");
}
settextstyle(7,0,6);
y=0;
for(i=0;i<=60;i++)
{
cleardevice();
outtextxy((y+i),180,"hree");
}
for(i=0;i<=180;i++)
{
cleardevice();
outtextxy(270,(y+i),"am");
}
for(i=0;i<=460;i++)
{
outtextxy((y+i),180,"rishna");
cleardevice();
}
settextstyle(7,0,600);
outtextxy(0,110,"S");
outtextxy(190,110,"R");
outtextxy(390,110,"K");
delay(5000);
settextstyle(7,0,6);
outtextxy(60,180,"hree");
outtextxy(270,180,"am");
outtextxy(460,180,"rishna");
clrscr();
cleardevice();
delay(10);
printf("\n\n\n\n\tCreated By");
outtextxy(60,100,"King Vikas Gutte");
getch();
closegraph();
}
#include<conio.h>
#include<stdlib.h>
#include<dos.h>
#include<stdio.h>
main()
{
int gd = DETECT, gm,x=600,y=0,i,j;
initgraph(&gd,&gm,"..//BGI");
clrscr();
cleardevice();
setcolor(RED);
settextstyle(7,0,600);
for(i=0;i<=110;i++)
{
cleardevice();
outtextxy(0,(y+i),"S");
}
for(i=0;i<=190;i++)
{
cleardevice();
outtextxy((y+i),110,"R");
}
for(i=0;i<=110;i++)
{
cleardevice();
outtextxy(390,(y+i),"K");
}
settextstyle(7,0,6);
y=0;
for(i=0;i<=60;i++)
{
cleardevice();
outtextxy((y+i),180,"hree");
}
for(i=0;i<=180;i++)
{
cleardevice();
outtextxy(270,(y+i),"am");
}
for(i=0;i<=460;i++)
{
outtextxy((y+i),180,"rishna");
cleardevice();
}
settextstyle(7,0,600);
outtextxy(0,110,"S");
outtextxy(190,110,"R");
outtextxy(390,110,"K");
delay(5000);
settextstyle(7,0,6);
outtextxy(60,180,"hree");
outtextxy(270,180,"am");
outtextxy(460,180,"rishna");
clrscr();
cleardevice();
delay(10);
printf("\n\n\n\n\tCreated By");
outtextxy(60,100,"King Vikas Gutte");
getch();
closegraph();
}
No comments:
Post a Comment