#include <conio.h>
#include <graphics.h>
#include <stdio.h>
void
main()
{
int
gd = DETECT, gm;
initgraph(&gd, &gm,
"C:\\"
"turboc3\\bgi"
);
setfillstyle(SOLID_FILL, BLUE);
floodfill(100, 100, 15);
setfillstyle(SOLID_FILL, RED);
circle(550, 200, 100);
floodfill(552, 202, 15);
setfillstyle(SOLID_FILL, WHITE);
line(650, 200, 630, 400);
line(650, 200, 620, 400);
line(620, 400, 630, 400);
floodfill(625, 398, 15);
line(450, 200, 470, 400);
line(450, 200, 480, 400);
line(470, 400, 480, 400);
floodfill(475, 398, 15);
setfillstyle(SOLID_FILL, BROWN);
rectangle(450, 400, 650, 500);
floodfill(452, 402, 15);
setfillstyle(XHATCH_FILL, YELLOW);
line(450, 430, 650, 430);
floodfill(452, 498, 15);
getch();
closegraph();
}