#include <graphics.h> #include <conio.h> int main() { int gd = DETECT, gm; initgraph(&gd, &gm, "C:\\Turboc3\\BGI"); // Red background setfillstyle(SOLID_FILL, RED); bar(200, 100, 600, 500); // Yellow circle setfillstyle(SOLID_FILL, YELLOW); fillellipse(400, 300, 150, 150); // Green triangle setfillstyle(SOLID_FILL, GREEN); int points[] = {400,150, 300,450, 500,450}; fillpoly(3, points); // BITM text (BLACK) setcolor(BLACK); outtextxy(370, 300, "BITM"); getch(); closegraph(); return 0; }