C Program to draw a circle.


To generate s straight line.


#include
#include
int main()
{
  int gd = DETECT ,gm;
  initgraph(&gd,&gm,"c:\\TC\\BGI");     // initiliaze graphic mode
  line(100,100,200,200);
  getch();
  closegraph();
  return 0 ;
}    


Popular posts from this blog

Environment and Ecology

Types of Foundation and their Uses.

Engineering Chemistry