Program to print the Pie Slice

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>
void main()
{
  clrscr();
  int gm=DETECT,gd,i;

     initgraph(&gm,&gd,"");
     cleardevice();

     pieslice(320,240,45,315,50);
  getch();
  }

Leave a Reply