//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();
}
Sort: Trending