#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main()
{
int gd=DETECT,gm;
initgraph(&gd,&gm,"");
line(40,20,30,40);
line(10,20,30,40);
delay(30);
line(45,20,35,40);
line(40,30,50,30);
line(45,20,65,40);
delay(30);
line(70,20,70,40);
arc(70,30,270,90,12);
delay(30);
line(87,20,87,40);
delay(30);
line(90,20,110,40);
line(120,20,110,40);
delay(30);
line(124,20,124,40);
line(124,20,133,20);
line(124,30,133,30);
line(124,40,133,40);
delay();
line(139,20,139,40);
line(139,40,144,40);
delay();
line(146,40,156,20);
line(176,40,156,20);
line(151,30,166,30);
delay(30);
line(180,40,180,20);
line(180,20,190,40);
line(190,40,190,20);
circle(10,73,5);
arc(22,75,0,180,15);
line(37,75,44,75);
line(44,55,44,75);
line(50,75,50,55);
line(50,75,75,75);
arc(68,75,300,180,6);
arc(90,65,90,270,10);
circle(90,58,2);
circle(90,73,2);
circle(100,70,5);
arc(110,75,0,180,15);
line(125,75,135,75);
line(135,75,135,55);
circle(145,70,5);
arc(155,75,30,180,15);
arc(177,65,210,30,10);
circle(197,68,7);
circle(216,68,7);
circle(216,56,1);
line(197,61,235,61);
line(233,75,233,60);
getch();
}
#include<conio.h>
#include<graphics.h>
void main()
{
int gd=DETECT,gm;
initgraph(&gd,&gm,"");
line(40,20,30,40);
line(10,20,30,40);
delay(30);
line(45,20,35,40);
line(40,30,50,30);
line(45,20,65,40);
delay(30);
line(70,20,70,40);
arc(70,30,270,90,12);
delay(30);
line(87,20,87,40);
delay(30);
line(90,20,110,40);
line(120,20,110,40);
delay(30);
line(124,20,124,40);
line(124,20,133,20);
line(124,30,133,30);
line(124,40,133,40);
delay();
line(139,20,139,40);
line(139,40,144,40);
delay();
line(146,40,156,20);
line(176,40,156,20);
line(151,30,166,30);
delay(30);
line(180,40,180,20);
line(180,20,190,40);
line(190,40,190,20);
circle(10,73,5);
arc(22,75,0,180,15);
line(37,75,44,75);
line(44,55,44,75);
line(50,75,50,55);
line(50,75,75,75);
arc(68,75,300,180,6);
arc(90,65,90,270,10);
circle(90,58,2);
circle(90,73,2);
circle(100,70,5);
arc(110,75,0,180,15);
line(125,75,135,75);
line(135,75,135,55);
circle(145,70,5);
arc(155,75,30,180,15);
arc(177,65,210,30,10);
circle(197,68,7);
circle(216,68,7);
circle(216,56,1);
line(197,61,235,61);
line(233,75,233,60);
getch();
}
No comments:
Post a Comment