#include<iostream.h>
#include<graphics.h>
#include<conio.h>
void main()
{
int gd=DETECT,gm;
initgraph(&gd,&gm,"C:\\TurboC3\\BGI");
setcolor(11);
line(100,100,100,300);
line(100,300,129,300);
line(400,300,400,100);
line(400,300,200,300);
line(100,100,400,100);
line(415,165,455,165);
line(415,165,415,225);
line(455,165,455,225);
line(455,225,415,225);
line(400,150,475,150);
line(475,150,525,200);
line(525,200,525,300);
line(525,300,500,300);
line(400,300,429,300);
arc(465,300,0,360,35);
circle(465,300,20);
arc(165,300,0,360,35);
circle(165,300,20);
line(0,335,1000,335);
line(0,340,1000,340);
line(425,225,425,200);
circle(425,190,10);
circle(430,185,2);
arc(430,193,180,360,2);
line(425,220,440,220);
arc(440,220,35,180,15);
arc(455,225,90,180,15);
line(600,300,600,250);
line(600,300,575,335);
line(600,300,625,335);
circle(600,235,15);
arc(600,238,180,360,8);
circle(592,228,2);
circle(605,228,2);
arc(600,225,270,360,30);
arc(600,225,180,270,30);
line(575,335,575,300);
line(575,300,540,300);
line(540,300,540,335);
arc(558,300,0,180,5);
getch();
closegraph();
}
No comments:
Post a Comment
Note: only a member of this blog may post a comment.