#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>
void main()
{
int gd=DETECT , gm;
int x,y,i;
initgraph(&gd , &gm , “C:\\ TURBOC3 \\ BGI”);
x=getmaxx()/2;
y=getmaxy()/2;
for(i=30; i<=250; i++)
{
x=300;
y=250;
delay(50);
setcolor(i/10);
arc(x, y, 0,360,i+70);
settextstyle(0,0,3);
outtextstyle(240,190, ” HAPPY “);
outtextstyle(258,220, ” HOLI “);
outtextstyle(280,245, ” BY “);
settextstyle(1,0,1);
outtextstyle(220 , 265, ” SAMEER HUSSAIN “);
}
getch();
}


One Reply to “Happy Holi Wish C Graphics Program”