Program to print the yellow wink smiley.

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>
void main()
{
    clrscr();
    int gm=DETECT,gd,i;
    initgraph(&gm,&gd,"");
    setfillstyle(1,14);
    setcolor(6);
    circle(180,200,30);
    floodfill(180,200,6);
    arc(190,192,30,180,5);
    arc(169,195,20,150,5);
    arc(169,197,20,180,2);
    circle(190,193,2);       //eyes
    arc(180,210,220,360,10); //oth
getch();
}

Leave a Reply