Program to Draw a Kite using rectangle

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


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


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


  for(i=50;i<=250;i=i+10)
  {
     delay(1000);
       rectangle(200,200,10+i,10+i);


  }

  getch();
}

Leave a Reply