#include<graphics.h>
#include<conio.h>
void main()
{
int gd=DETECT,gm,points[]={320,150,440,340,230,340,320,150};
initgraph(&gd,&gm,"");
setbk color(3);
setcolor(6);
bar3d(380,380,430,430,20,1);
setcolor(2);
bar(165,165,230,230);
setcolor(9);
circle(480,180,350;
floodfill(480,180,9);
fillpoly(4,points);
rectangle(100,110,155,150);
getch();
closegraph();
}
No comments:
Post a Comment