Program for Making a beautiful girl using C language...
Program in c language
/* Program developed by Kishan Verma
*This program is written for making a beautiful girl in Computer Graphics.
*/
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main()
{
int gd=DETECT,gm=0;
initgraph(&gd,&gm,"c:\\tc\\bgi");
setcolor(WHITE);
ellipse(300,150,190,270,102,200); //face left side
ellipse(300,150,270,350,102,200); //face right side
ellipse(300,185,360,180,100,80); //face top side
ellipse(300,160,58,206,115,110); //hair left side
arc(359,145,306,90,80); //hair right side
ellipse(295,155,90,89,4,10);
ellipse(295,156,90,89,1,8);
ellipse(240,200,0,360,17,8); //eye left
circle(241,202,5);
arc(240,206,30,140,22);
ellipse(350,200,0,360,17,8); //eye right
circle(351,202,5);
arc(350,206,30,140,22);
ellipse(295,300,180,360,20,10); //lip
ellipse(295,300,180,360,20,3);
arc(288,310,60,148,15); //upper lip
arc(303,310,30,118,15);
arc(220,240,340,40,60);
arc(280,262,180,300,5); //nose
ellipse(285,265,0,360,5,2);
ellipse(297,265,0,360,5,2);
arc(298,259,270,60,8);
arc(305,264,232,110,5);
ellipse(236,355,275,70,15,42); //neck
ellipse(363,355,110,270,15,42);
ellipse(185,393,293,358,55,15);
ellipse(414,392,200,232,55,15);
ellipse(201,215,70,330,5,10); //left ear
ellipse(400,215,230,110,5,10); //right ear
//left hair down
ellipse(201,285,90,260,30,60);
ellipse(211,285,100,238,20,60);
ellipse(160,273,300,20,50,100);
ellipse(200,403,110,235,30,50);
ellipse(155,303,330,20,70,80);
ellipse(145,303,330,20,70,80);
ellipse(145,343,303,0,70,120);
ellipse(135,340,318,0,70,120);
ellipse(125,343,315,0,70,120);
ellipse(218,355,240,70,20,42);
//right hair down
ellipse(400,285,280,100,30,60);
ellipse(400,285,280,100,15,60);
ellipse(410,275,140,268,20,73);
ellipse(406,387,270,84,20,40);
ellipse(392,315,140,288,20,50);
ellipse(405,295,130,288,25,55);
ellipse(405,395,305,110,15,35);
ellipse(410,391,145,286,30,50);
ellipse(420,391,140,268,20,50);
ellipse(385,360,120,263,25,40);
getch();
}
Output: Watch video for output...
it not showing the output
ReplyDeletePlease check out the video
Delete