Friday, 29 August 2014

C programming code for ellipse



C programming code for ellipse

#include<graphics.h>
#include<conio.h>
 
main()
{
   int gd = DETECT, gm;
 
   initgraph(&gd, &gm, "C:\\TC\\BGI");
 
   ellipse(100, 100, 0, 360, 50, 25);
 
   getch();
   closegraph();
   return 0;
}

No comments: