Program to Draw a rectangle

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>


void main()
{
  clrscr();
  int gm=DETECT,gd,i;


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


       rectangle(10,10,200,200);

  getch();
}

Leave a Reply