Program to print a Bar

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


void main()
{
  clrscr();
  int gm=DETECT,gd,i;
 initgraph(&gm,&gd,"");
   cleardevice();
          bar(50,70,70,300);
    getch();
}

Leave a Reply