//____________ WELCOME ALL OF YOU ON ROHIT TECH STUDY CHANNEL _____________//
//************* C++ PROGRAM TO CELEBRATE HAPPY GOVARDHAN PUJA *************//
#include<stdio.h>
#include<conio.h>
#include<dos.h>
#include<graphics.h>
void main()
{
int gd=DETECT,gm;
int i;
initgraph(&gd,&gm,"c:\\tc\\bgi");
{
for(i=0;i<50;i++)
{
setbkcolor(4);
setcolor(YELLOW);
line(50,0,50,250);
line(51,0,51,250);
ellipse(51,245,0,360,2,10);
arc(50,250,180,360,30);
arc(50,250,180,360,29);
arc(50,250,180,360,28);
ellipse(50,250,0,360,30,3);
ellipse(50,250,0,360,30,1);
line(100,0,100,125);
line(101,0,101,125);
ellipse(101,120,0,360,2,10);
arc(100,125,180,360,30);
arc(100,125,180,360,29);
arc(100,125,180,360,28);
ellipse(100,125,0,360,30,3);
ellipse(100,125,0,360,30,1);
line(540,0,540,125);
line(541,0,541,125);
ellipse(541,120,0,360,2,10);
arc(540,125,180,360,30);
arc(540,125,180,360,29);
arc(540,125,180,360,28);
ellipse(540,125,0,360,30,3);
ellipse(540,125,0,360,30,1);
line(590,0,590,250);
line(591,0,591,250);
ellipse(591,245,0,360,2,10);
arc(590,250,180,360,30);
arc(590,250,180,360,29);
arc(590,250,180,360,28);
ellipse(590,250,0,360,30,3);
ellipse(590,250,0,360,30,1);
setcolor(i++);
circle(320,170,150);
circle(320,170,148);
circle(320,170,146);
circle(320,170,144);
circle(320,170,142);
circle(320,170,140);
setcolor(YELLOW);
arc(320,270,180,360,40);
ellipse(300,270,0,360,20,5);
ellipse(340,270,0,360,20,5);
ellipse(320,253,0,360,5,18);
line(0,400,50,350);
line(50,350,100,400);
line(100,400,150,350);
line(150,350,200,400);
line(200,400,250,350);
line(250,350,300,400);
line(300,400,350,350);
line(350,350,400,400);
line(400,400,450,350);
line(450,350,500,400);
line(500,400,550,350);
line(550,350,600,400);
line(600,400,650,350);
line(0,325,30,370);
line(65,365,100,325);
line(100,325,135,365);
line(165,365,200,325);
line(200,325,235,365);
line(265,365,300,325);
line(300,325,335,365);
line(365,365,400,325);
line(400,325,435,365);
line(465,365,500,325);
line(500,325,535,365);
line(565,365,600,325);
line(600,325,635,365);
setfillstyle(SOLID_FILL,6);
circle(320,170,140);
floodfill(320,170,YELLOW);
setcolor(YELLOW);
settextstyle(3,0,4);
outtextxy(285,70,"HAPPY");
settextstyle(1,0,4);
outtextxy(240,120,"GOVARDHAN");
outtextxy(285,170,"PUJA");
setcolor(WHITE);
settextstyle(1,0,1);
outtextxy(450,410,"WISHES FROM:-");
outtextxy(450,435,"ROHIT TECH STUDY");
delay(500);
}
}
getch();
}
0 Comments