Happy Holi Wish C Graphics Program

Sharing is caring!

#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();

}

https://youtu.be/z9noe7uU8AU

Flipkart Coupons and Offers Mar 2021 Flat 70% Today Promo Codes

Related Post

One Reply to “Happy Holi Wish C Graphics Program”

Leave a Reply

Your email address will not be published.