Kite Making using Computer Graphics

in programming •  6 years ago 

out12.jpg

//Development of Kite
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main()
{
int gd=DETECT,gm;
int pts1[]={300,100,400,200,300,350,200,200};
int pts2[]={300,320,320,360,280,360,300,320};
initgraph(&gd,&gm,"C:\TurboC3\BGI");
setcolor(YELLOW);
setfillstyle(7,BLUE);
fillpoly(4,pts1);
arc(300,290,42,138,134);
line(300,100,300,350);
setfillstyle(7,GREEN);
fillpoly(4,pts2);
getch();
closegraph();
}

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!