Face With Raised Eyebrow


//Face With Raised Eyebrow

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main()
{
    int gd=DETECT,gm,x,y,i,j,k=90,l=90;
    initgraph(&gd,&gm,"C:/TC/BGI");
    x=getmaxx()/2;
    y=getmaxy()/2;
    setcolor(14);
    circle(150,150,100);//face
    setfillstyle(1,14);
    floodfill(150,150,14);
    setcolor(0);
    ellipse(110,120,360,0,10,15);//eye1
    ellipse(190,120,360,0,10,15);//eye2
    rectangle(110,175,190,185);//mouth
    setfillstyle(1,0);
    floodfill(112,122,0);//eye1
    floodfill(192,122,0);//eye2
    floodfill(112,177,0);//mouth
    setcolor(15);
    circle(110,112,3);//eye1.1
    circle(190,112,3);//eye1.2
    setfillstyle(1,15);
    floodfill(110,112,15);//eye1.1
    floodfill(190,112,15);//eye1.2
    setcolor(0);
    arc(97,110,50,140,15);//eyebrow1
    arc(109,83,250,330,15);//eyebrow1.1
    line(160,85,190,75);//eyebrow2
    arc(190,82,50,130,7);//eyebrow2.1
    line(190,75,210,80);//eyebrow2.2
    getch();
    closegraph();
}

OUTPUT

 

Comments

Popular Posts