Program to Draw Sad smiley using circle with arc function

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>
void main()
{
  clrscr();
  int gm=DETECT,gd,i;
  initgraph(&gm,&gd,"");
 
  circle(100,300,30);
  circle(89,293,2);
  circle(110,293,2);
   arc(100,320,15,165,10);

getch();
}

Leave a Reply