Program to print happy 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,310,180,360,10);

 getch();
}

Leave a Reply