google search

Popular Posts


Welcome to BCA Notes

>>>>>>>>>>>>>>>>

Visitors

Search This Blog

Blogger templates

Visitor Map


Friday 5 June 2015

Program to make a circle of circle with (100,100,100)

   1.     Program to make a circle of circle with (100,100,100)

Source Code:-

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
int main()
{
   int gd=DETECT,gm;
   //graphic construct is DETECT
   initgraph(&gd,&gm,"c:\\TurboC3\\BGI\\");
   //init graph has three parameter graphic driver graphic mode,BGI graphic path
   clrscr();
   //                 clear screen
   //defaultgraph();
   circle(100,100,100);
   //circle(x,y,Radius)

   getch();
   closegraph();d
   //closegraph();
     return(0);
}

Output:-


0 comments:

Post a Comment