Kissing Face Emoji With Heart
//Kissing Face Emoji With Heart
#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,90);//face
setfillstyle(1,14);
floodfill(150,150,14);//face
setcolor(0);
ellipse(120,140,360,0,10,15);//eye 1
ellipse(180,140,0,360,13,3);//eye 2
setfillstyle(1,0);
floodfill(122,142,0);//eye 1
floodfill(182,142,0);//eye 2
setcolor(0);
arc(155,180,250,110,8);//mouth up
arc(155,195,250,110,8);//mouth down
setcolor(4);
line(200,168,217,205);//heart left
line(255,189,217,205);//heart right
arc(215,160,355,208,17);//heart left
arc(245,175,300,140,17);//heart right
setfillstyle(1,4);
floodfill(202,170,4);//heart
setcolor(0);
arc(120,127,50,172,25);//eyebrow left up
arc(125,140,65,152,33);//eyebrow left down
setfillstyle(1,0);
floodfill(121,105,0);//eyebrow left
setcolor(0);
arc(180,140,25,150,25);//eyebrow right up
arc(180,154,45,133,33);//eyebrow right down
setfillstyle(1,0);
floodfill(181,120,0);
getch();
closegraph();
}
OUTPUT


Comments
Post a Comment