Program to draw the angry smiley using circle and arc with floodfill function

#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,4);
   setcolor(6);
   circle(180,200,30);
   floodfill(180,200,6);
arc(190,192,30,180,5);
arc(169,192,0,150,5);
circle(169,193,2);
circle(190,193,2);       
arc(180,210,20,150,10); 
 getch();
}

Leave a Reply