Smiling Face With Open Mouth & Cold Sweat


//Smiling Face With Open Mouth & Cold Sweat

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main()
{
    int gd=DETECT,gm,x,y;
    initgraph(&gd,&gm,"C:/TC/BGI");
    x=getmaxx()/2;
    y=getmaxy()/2;
    setcolor(14);
    circle(250,250,140);//face
    setfillstyle(1,14);
    floodfill(350,320,14);
    setcolor(0);
    arc(200,220,0,180,40);//eye1
    arc(300,220,0,180,40);//eye2
    arc(200,250,38,143,50);//eye1.2
    arc(300,250,38,143,50);//eye2.2
    setfillstyle(1,0);
    floodfill(200,189,0);//eye1
    floodfill(300,189,0);//eye2
    setcolor(0);
    arc(250,0,246,294,275);//lip1
    arc(250,0,248,292,280);//lip1.2
    arc(250,250,181,359,110);//lip2
    arc(250,250,185,355,105);//lip2.2
    setfillstyle(1,0);
    floodfill(252,279,0);//lipup
    floodfill(252,359,0);//lipdown
    setfillstyle(1,12);
    floodfill(252,302,0);//lipdown
    setcolor(6);
    arc(250,-7,249,292,287);//teethup
    arc(251,-5,251,288,310);//teethdown
    arc(250,250,185,202,105);//teethleft
    arc(250,250,338,355,105);//teethright
    setfillstyle(1,15);
    floodfill(152,272,6);//teeth
    setcolor(4);
    arc(250,365,26,154,40);//TONGUE1
    arc(250,255,248,293,100);//TONGUE2
    setfillstyle(1,4);
    floodfill(252,331,4);//tongue
    setcolor(11);
    line(150,130,135,173);//DROPL1
    line(150,130,165,173);//DROPL2
    arc(150,170,180,0,15);//DROP
    setfillstyle(1,11);
    floodfill(150,132,11);
    getch();
    closegraph();
}

OUTPUT

 

Comments

Popular Posts